Skip to content

Commit

Permalink
Made package-private private
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel1464 committed Dec 9, 2024
1 parent 5393f1f commit f1a419a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ default String logPath(String logUnder) {
}

class Parser {
static final Map<Object, String> logPathMap = new WeakHashMap<>();
static final String DEFAULT_NAMESPACE = "UNKNOWN";
static boolean enabled = false;
private static final Map<Object, String> logPathMap = new WeakHashMap<>();
private static final String DEFAULT_NAMESPACE = "UNKNOWN";
private static boolean enabled = false;

/**
* Enables log path parsing. This must be called in your robot class to use this interface.
Expand All @@ -40,7 +40,7 @@ public static void enable(Object robotInstance) {

private Parser() {}

static void recurseLogPaths(Object obj, String currentPath) {
private static void recurseLogPaths(Object obj, String currentPath) {
logPathMap.put(obj, currentPath);
var clazz = obj.getClass();
for (var field : clazz.getDeclaredFields()) {
Expand Down

0 comments on commit f1a419a

Please sign in to comment.