Ignore:
Timestamp:
11/28/19 14:41:10 (5 years ago)
Author:
bart
Message:

Release 1.1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/geniusweb/partiesserver/repository/AvailablePartiesRepo.java

    r1 r8  
    1212 * Stores all currently available parties that can be run.
    1313 */
    14 public class AvailablePartiesRepo extends DefaultListenable<String> implements Repository<String, AvailableParty> {
     14public class AvailablePartiesRepo extends DefaultListenable<String>
     15                implements Repository<String, AvailableParty> {
    1516        private static final AvailablePartiesRepo instance = new AvailablePartiesRepo();
    1617
     
    3738        public void put(AvailableParty entity) {
    3839                availableParties.put(entity.getID(), entity);
    39                 notifyChange(entity.getID());
     40                notifyListeners(entity.getID());
    4041        }
    4142
     
    4344        public void remove(String id) {
    4445                availableParties.remove(id);
    45                 notifyChange(id);
     46                notifyListeners(id);
    4647        }
    4748
Note: See TracChangeset for help on using the changeset viewer.