mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-20 19:20:04 +00:00
added a listener for name changes in LeaderboardCacheManager, making the two previously failing test cases pass
Change-Id: Ifb0966ba8891aeae68d9d08ff9a3c5e3876badea
This commit is contained in:
1 parent
2d4123616c
commit
86be07ebd8
6 files changed
+102
-10
No files matched your search
+4
@@ -8,4 +8,8 @@ public interface LeaderboardBase extends Named {
|
||||
* this method returns it; otherwise, <code>null</code> is returned.
|
||||
*/
|
||||
String getDisplayName();
|
||||
|
||||
void addLeaderboardChangeListener(LeaderboardChangeListener listener);
|
||||
|
||||
void removeLeaderboardChangeListener(LeaderboardChangeListener listener);
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package com.sap.sailing.domain.base;
|
||||
|
||||
public interface LeaderboardChangeListener {
|
||||
void nameChanged(String oldName, String newName);
|
||||
void displayNameChanged(String oldDisplayName, String newDisplayName);
|
||||
}
|
||||
Reference in new issue
Block a user