Skip to content
This repository was archived by the owner on Jul 8, 2020. It is now read-only.

Commit 001cba2

Browse files
committed
Use a linkedlist for handlers [1.0.2]
1 parent d00b3ed commit 001cba2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>net.mcapi.uuid</groupId>
44
<artifactId>uuid-java</artifactId>
5-
<version>1.0.1</version>
5+
<version>1.0.2</version>
66
<name>uuid-java</name>
77

88
<scm>

src/main/java/net/mcapi/uuid/UUIDAPI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
public class UUIDAPI {
2323

2424
private static UUIDHandler handler;
25-
private final static Set<UUIDHandler> handlers = new HashSet<UUIDHandler>();
25+
private final static List<UUIDHandler> handlers = new LinkedList<UUIDHandler>();
2626
private static ServerRegion region;
2727

2828
/**
@@ -41,7 +41,7 @@ public static void setRegion(ServerRegion region) {
4141
UUIDAPI.region = region;
4242
}
4343

44-
public static Set<UUIDHandler> getHandlers() {
44+
public static List<UUIDHandler> getHandlers() {
4545
return handlers;
4646
}
4747

0 commit comments

Comments
 (0)