From: David ‘Bombe’ Roden Date: Thu, 14 Oct 2010 04:36:45 +0000 (+0200) Subject: A profile does not have a username, the Sone has a name. X-Git-Tag: 0.1-RC1~444 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=628936b67423d4e26d9c990ab1bb44ad788e5b3f A profile does not have a username, the Sone has a name. --- 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; } }