Skip to content

Commit

Permalink
errorprone :: remove SystemOut in Namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-mlb committed Sep 5, 2024
1 parent 47331dd commit 70298c8
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/main/java/emissary/core/Namespace.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* NameSpace.java
*
* Created on December 20, 2002, 10:48 AM
*/

package emissary.core;

import com.google.common.collect.Sets;
Expand Down Expand Up @@ -138,12 +132,12 @@ public static Set<String> keySet() {
}

public static void dump() {
System.out.println("dumping Namespace");
logger.info("dumping Namespace");
for (String key : keySet()) {
try {
System.out.println("Key: " + key + " -> Value: " + lookup(key));
logger.info("Key: {} -> Value: {}", key, lookup(key));
} catch (NamespaceException e) {
System.out.println("Couldn't find key: " + key);
logger.info("Couldn't find key: {}", key);
}
}
}
Expand Down

0 comments on commit 70298c8

Please sign in to comment.