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>
This commit is contained in:
Stefan Weil 2018-10-14 20:48:27 +02:00
parent 56523da8a3
commit fc915c537d

View file

@ -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;
}