Skip to content

Commit

Permalink
Setting load factors
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoutanov committed Jul 18, 2019
1 parent 3869bc3 commit 75f8c7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static void uninstall() {
*/
public static Set<Handler> uninstallAllHandlers() {
final Logger root = getRootLogger();
final Set<Handler> stash = new HashSet<>();
final Set<Handler> stash = new HashSet<>(root.getHandlers().length, 1f);
Arrays.stream(root.getHandlers()).forEach(handler -> {
stash.add(handler);
root.removeHandler(handler);
Expand Down

0 comments on commit 75f8c7a

Please sign in to comment.