Polish: Overriding methods should do more than simply call the same method in the super class
This commit is contained in:
committed by
Juergen Hoeller
parent
cd4f0935c5
commit
ed936cbd89
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user