Deleting unused code
@@ -63,7 +63,7 @@ public ActiveSessions(long inactiveSessionTimeout, TimeUnit unit) {
addListener(new ActiveSessionListener() {
@Override
public void onStop(ActiveSession session) {
- log("Removing session %s", session);
+ LOG.info(String.format("Removing session %s", session));
}
});
@@ -118,12 +118,4 @@ public void removeListener(ActiveSessionListener listener) {
public String toString() {
return allSessions.asMap().toString();
}
-
- private void log(String message, Object... args) {
- LOG.info(String.format(message, args));
- }
-
- private void log(Throwable throwable, String message, Object... args) {
- LOG.log(Level.WARNING, String.format(message, args), throwable);
- }
}
