Skip to content

Commit 7edd4e8

Browse files
committed
Clean up warnings in Gradle build
1 parent 05b1581 commit 7edd4e8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

spring-context/src/test/java/org/springframework/context/i18n/LocaleContextThreadLocalAccessorTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ void cleanUp() {
5151

5252
@ParameterizedTest
5353
@MethodSource
54+
@SuppressWarnings("try")
5455
void propagation(@Nullable LocaleContext previous, LocaleContext current) throws Exception {
5556
LocaleContextHolder.setLocaleContext(current);
5657
ContextSnapshot snapshot = ContextSnapshotFactory.builder()

spring-websocket/src/test/java/org/springframework/web/socket/messaging/WebSocketStompClientTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ void sendWebSocketBinaryExceedOutboundMessageSizeLimit() throws Exception {
278278
}
279279

280280
@Test
281+
@SuppressWarnings({ "rawtypes", "unchecked" })
281282
void reassembleReceivedIFragmentedFrames() throws Exception {
282283
WebSocketHandler handler = connect();
283284
handler.handleMessage(this.webSocketSession, new TextMessage("SEND\ndestination:/topic/foo\nco"));

0 commit comments

Comments
 (0)