Issue #4691 - Remove unnecessary throws from getMethodHandleLookup.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
10f4fda0de
commit
d4c2893843
|
@ -704,7 +704,7 @@ public abstract class JavaxWebSocketFrameHandlerFactory
|
|||
}
|
||||
}
|
||||
|
||||
private MethodHandles.Lookup getMethodHandleLookup(Class<?> endpointClass) throws InvalidWebSocketException
|
||||
private MethodHandles.Lookup getMethodHandleLookup(Class<?> endpointClass)
|
||||
{
|
||||
return MethodHandles.publicLookup().in(endpointClass);
|
||||
}
|
||||
|
|
|
@ -456,7 +456,7 @@ public class JettyWebSocketFrameHandlerFactory extends ContainerLifeCycle
|
|||
throw new InvalidSignatureException(err.toString());
|
||||
}
|
||||
|
||||
private MethodHandles.Lookup getMethodHandleLookup(Class<?> endpointClass) throws InvalidWebSocketException
|
||||
private MethodHandles.Lookup getMethodHandleLookup(Class<?> endpointClass)
|
||||
{
|
||||
return MethodHandles.publicLookup().in(endpointClass);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue