Skip to content

Commit

Permalink
codacy-bot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gregw committed Jan 18, 2017
1 parent da52a18 commit cc1fb54
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,9 @@ public void testAddHandler() {
EasyMock.replay(options, logging);
LoggingHandler handler = new LoggingHandler(LOG_NAME, options) {
@Override
public void close() {}
public void close() {
// Make close NOOP to avoid mock close exception
}
};
handler.setLevel(Level.ALL);
handler.setFormatter(new TestFormatter());
Expand Down

0 comments on commit cc1fb54

Please sign in to comment.