- Timestamp:
- 11/28/19 14:41:10 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/geniusweb/partiesserver/repository/AvailablePartiesRepo.java
r1 r8 12 12 * Stores all currently available parties that can be run. 13 13 */ 14 public class AvailablePartiesRepo extends DefaultListenable<String> implements Repository<String, AvailableParty> { 14 public class AvailablePartiesRepo extends DefaultListenable<String> 15 implements Repository<String, AvailableParty> { 15 16 private static final AvailablePartiesRepo instance = new AvailablePartiesRepo(); 16 17 … … 37 38 public void put(AvailableParty entity) { 38 39 availableParties.put(entity.getID(), entity); 39 notify Change(entity.getID());40 notifyListeners(entity.getID()); 40 41 } 41 42 … … 43 44 public void remove(String id) { 44 45 availableParties.remove(id); 45 notify Change(id);46 notifyListeners(id); 46 47 } 47 48
Note:
See TracChangeset
for help on using the changeset viewer.