Skip to content

Commit

Permalink
acl-vehicles: unified logger dcache codestyle
Browse files Browse the repository at this point in the history
fixes #3807

Signed-off-by: Ferdinand Wolff <s0549248@htw-berlin.de>
  • Loading branch information
ferdinandwolff committed Aug 8, 2018
1 parent 870411c commit 7911591
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public enum AceFlags {
IDENTIFIER_GROUP(0x00000040, 'g');

// Logger
private static final Logger logger = LoggerFactory.getLogger("logger.org.dcache.authorization." + AceFlags.class);
private static final Logger LOGGER = LoggerFactory.getLogger(AceFlags.class);

private final int _value;

Expand Down Expand Up @@ -104,14 +104,14 @@ public static int validate(int flags, boolean isDir) {

if ( INHERIT_ONLY_ACE.matches(flags) ) {
if ( res == 0 ) {
logger.warn("Unsupported flags of directory: {}", flags);
LOGGER.warn("Unsupported flags of directory: {}", flags);
} else {
res += INHERIT_ONLY_ACE._value;
}
}

} else if ( flags != 0 && flags != IDENTIFIER_GROUP._value ) {
logger.warn("Unsupported flags of file: {}", flags);
LOGGER.warn("Unsupported flags of file: {}", flags);
}

if ( IDENTIFIER_GROUP.matches(flags) ) {
Expand Down

0 comments on commit 7911591

Please sign in to comment.