projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A profile does not have a username, the Sone has a name.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
Profile.java
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
(file)
--- 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 {
*/
public class Profile {
- /** The name of the user this profile belongs to. */
- private final String username;
-
/**
* Creates a new profile.
/**
* 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) {
* 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;
}
}
}
}