Fix: Modifiers should be declared in the correct order (squid:ModifiersOrderCheck)

This commit is contained in:
Jano Svitok 2018-07-30 11:54:56 +02:00
parent c40420a64a
commit 70c700a6a1
2 changed files with 6 additions and 7 deletions

View File

@ -41,9 +41,9 @@ class HostConnectToRemoteTcpDevice {
void validate(String response) throws ConnectionToRemoteDeviceException;
}
final static class ResponseValidatorImp implements ResponseValidator {
private final static String SUCCESSFULLY_CONNECTED = "connected to";
private final static String ALREADY_CONNECTED = "already connected to";
static final class ResponseValidatorImp implements ResponseValidator {
private static final String SUCCESSFULLY_CONNECTED = "connected to";
private static final String ALREADY_CONNECTED = "already connected to";
ResponseValidatorImp() {

View File

@ -41,10 +41,9 @@ public class HostDisconnectFromRemoteTcpDevice {
void validate(String response) throws ConnectionToRemoteDeviceException;
}
final static class ResponseValidatorImp implements ResponseValidator {
private final static String SUCCESSFULLY_DISCONNECTED = "disconnected";
private final static String ALREADY_DISCONNECTED = "error: no such device";
static final class ResponseValidatorImp implements ResponseValidator {
private static final String SUCCESSFULLY_DISCONNECTED = "disconnected";
private static final String ALREADY_DISCONNECTED = "error: no such device";
ResponseValidatorImp() {
}