From 628936b67423d4e26d9c990ab1bb44ad788e5b3f Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 14 Oct 2010 06:36:45 +0200 Subject: [PATCH 1/1] A profile does not have a username, the Sone has a name. --- .../java/net/pterodactylus/sone/data/Profile.java | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/data/Profile.java b/src/main/java/net/pterodactylus/sone/data/Profile.java index 18ec602..255dacb 100644 --- a/src/main/java/net/pterodactylus/sone/data/Profile.java +++ b/src/main/java/net/pterodactylus/sone/data/Profile.java @@ -24,17 +24,10 @@ package net.pterodactylus.sone.data; */ public class Profile { - /** The name of the user this profile belongs to. */ - private final String username; - /** * Creates a new profile. - * - * @param username - * The name of the user this profile belongs to */ - public Profile(String username) { - this.username = username; + public Profile() { } /** @@ -44,16 +37,6 @@ public class Profile { * The profile to copy */ public Profile(Profile profile) { - this.username = profile.username; - } - - /** - * Returns the name of the user this profile belongs to. - * - * @return The name of the user this profile belongs to - */ - public String getUsername() { - return username; } } -- 2.7.4