Clean up warnings in Gradle build
This commit is contained in:
@@ -51,6 +51,7 @@ class LocaleContextThreadLocalAccessorTests {
|
|||||||
|
|
||||||
@ParameterizedTest
|
@ParameterizedTest
|
||||||
@MethodSource
|
@MethodSource
|
||||||
|
@SuppressWarnings("try")
|
||||||
void propagation(@Nullable LocaleContext previous, LocaleContext current) throws Exception {
|
void propagation(@Nullable LocaleContext previous, LocaleContext current) throws Exception {
|
||||||
LocaleContextHolder.setLocaleContext(current);
|
LocaleContextHolder.setLocaleContext(current);
|
||||||
ContextSnapshot snapshot = ContextSnapshotFactory.builder()
|
ContextSnapshot snapshot = ContextSnapshotFactory.builder()
|
||||||
|
|||||||
@@ -278,6 +278,7 @@ class WebSocketStompClientTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||||
void reassembleReceivedIFragmentedFrames() throws Exception {
|
void reassembleReceivedIFragmentedFrames() throws Exception {
|
||||||
WebSocketHandler handler = connect();
|
WebSocketHandler handler = connect();
|
||||||
handler.handleMessage(this.webSocketSession, new TextMessage("SEND\ndestination:/topic/foo\nco"));
|
handler.handleMessage(this.webSocketSession, new TextMessage("SEND\ndestination:/topic/foo\nco"));
|
||||||
|
|||||||
Reference in New Issue
Block a user