mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-02-18 04:41:31 +01:00
Fix codestyle
This commit is contained in:
parent
93d16d273f
commit
b919c33819
@ -12,11 +12,11 @@ import java.util.List;
|
||||
*/
|
||||
public class LogFilterService {
|
||||
|
||||
private static final String ISSUED_COMMAND_PREFIX_TEXT = "issued server command: /";
|
||||
|
||||
@Inject
|
||||
private CommandMapper commandMapper;
|
||||
|
||||
private static final String ISSUED_COMMAND_PREFIX_TEXT = "issued server command: /";
|
||||
|
||||
/**
|
||||
* Validate a message and return whether the message contains a sensitive AuthMe command.
|
||||
*
|
||||
@ -35,6 +35,8 @@ public class LogFilterService {
|
||||
case UNKNOWN_LABEL:
|
||||
case MISSING_BASE_COMMAND:
|
||||
return false;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return command.getCommandDescription().isSensitive();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user