Selaa lähdekoodia

LabelTypeHelper: Fix a debug message

This fixes a warning from LGTM:

    Variable includedPaths may be null here as suggested
    by this null guard.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Stefan Weil 6 vuotta sitten
vanhempi
commit
fc915c537d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

+ 1 - 1
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

@@ -263,7 +263,7 @@ public class LabelTypeHelper {
             } else {
                 final boolean match = !excludedPaths.matcher(path).matches();
                 if (!match && logger.isDebugEnabled()) {
-                    logger.debug("Path " + path + " matched against the excludes paths expression " + includedPaths.toString());
+                    logger.debug("Path " + path + " matched against the excludes paths expression " + excludedPaths.toString());
                 }
                 return match;
             }