projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store ID as string.
[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
129293c
..
5613828
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/Sone.java
+++ b/
src/main/java/net/pterodactylus/sone/data/Sone.java
@@
-24,7
+24,6
@@
import java.util.Comparator;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
-import java.util.UUID;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.logging.Level;
import java.util.logging.Logger;
@@
-45,8
+44,8
@@
public class Sone {
/** The logger. */
private static final Logger logger = Logging.getLogger(Sone.class);
/** The logger. */
private static final Logger logger = Logging.getLogger(Sone.class);
- /**
A GUID for
this Sone. */
- private final
UUID
id;
+ /**
The ID of
this Sone. */
+ private final
String
id;
/** The name of this Sone. */
private volatile String name;
/** The name of this Sone. */
private volatile String name;
@@
-92,7
+91,7
@@
public class Sone {
* The ID of this Sone
*/
public Sone(String id) {
* The ID of this Sone
*/
public Sone(String id) {
- this.id =
UUID.fromString(id)
;
+ this.id =
id
;
}
//
}
//
@@
-105,7
+104,7
@@
public class Sone {
* @return The ID of this Sone
*/
public String getId() {
* @return The ID of this Sone
*/
public String getId() {
- return id
.toString()
;
+ return id;
}
/**
}
/**