Browse Source

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 years ago
parent
commit
fc915c537d
1 changed files with 1 additions and 1 deletions
  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;
             }