Polish: Overriding methods should do more than simply call the same method in the super class

This commit is contained in:
igor-suhorukov
2018-03-02 01:58:05 +03:00
committed by Juergen Hoeller
parent cd4f0935c5
commit ed936cbd89
4 changed files with 0 additions and 53 deletions

View File

@@ -201,22 +201,6 @@ public class ServerEndpointRegistration extends ServerEndpointConfig.Configurato
super.modifyHandshake(this, request, response);
}
@Override
public boolean checkOrigin(String originHeaderValue) {
return super.checkOrigin(originHeaderValue);
}
@Override
public String getNegotiatedSubprotocol(List<String> supported, List<String> requested) {
return super.getNegotiatedSubprotocol(supported, requested);
}
@Override
public List<Extension> getNegotiatedExtensions(List<Extension> installed, List<Extension> requested) {
return super.getNegotiatedExtensions(installed, requested);
}
@Override
public String toString() {
return "ServerEndpointRegistration for path '" + getPath() + "': " + getEndpointClass();