Use a hashmap to map strings to rooms. So now we can have an unbounded number of...
[IRC.git] / Robust / src / Benchmarks / Chat / Room.java
index c644b523f835706d22fce2350480e7554ff24cea..938137c208d4c80f5b667642b6ac6c12d49de539 100644 (file)
@@ -1,8 +1,8 @@
 public class Room {
     String name;
     HashSet participants;
-    public Room(int i) {
-       name=String.valueOf(i);
+    public Room(String n) {
+       name=n;
        participants=new HashSet();
     }