projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don’t use the Sone’s ID but (maybe) also the Sone’s shell’s ID.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
Sone.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/Sone.java
b/src/main/java/net/pterodactylus/sone/data/Sone.java
index
cd9239e
..
6d729c3
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/Sone.java
+++ b/
src/main/java/net/pterodactylus/sone/data/Sone.java
@@
-336,7
+336,7
@@
public class Sone {
*/
@Override
public int hashCode() {
- return
id
.hashCode();
+ return
getId()
.hashCode();
}
/**
@@
-347,7
+347,7
@@
public class Sone {
if (!(object instanceof Sone)) {
return false;
}
- return ((Sone) object).id.equals(
id
);
+ return ((Sone) object).id.equals(
getId()
);
}
/**