Skip to content

Commit

Permalink
Deleting unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Feb 9, 2018
1 parent cbcb44e commit cc5e868
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
});

Expand Down Expand Up @@ -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);
}
}

0 comments on commit cc5e868

Please sign in to comment.