Skip to content

Commit

Permalink
quote logged paths
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak committed Jan 29, 2024
1 parent 636b3f3 commit ba9e18d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/*
* Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 2024, Oracle and/or its affiliates. All rights reserved.
* Portions Copyright (c) 2017, 2020, Chris Fraire <cfraire@me.com>.
*/
package org.opengrok.indexer.configuration;
Expand Down Expand Up @@ -59,12 +59,12 @@ public boolean accept(File file) {
if (!includedNames.isEmpty()
&& // the filter should not affect directory names
(!(file.isDirectory() || includedNames.match(file)))) {
LOGGER.log(Level.FINER, "not including {0}", file.getAbsolutePath());
LOGGER.log(Level.FINER, "not including ''{0}''", file.getAbsolutePath());
return false;
}

if (ignoredNames.ignore(file)) {
LOGGER.log(Level.FINER, "ignoring {0}", file.getAbsolutePath());
LOGGER.log(Level.FINER, "ignoring ''{0}''", file.getAbsolutePath());
return false;
}

Expand Down

0 comments on commit ba9e18d

Please sign in to comment.