Skip to content

Commit 2353f39

Browse files
committed
Clean up warnings
1 parent 4836d06 commit 2353f39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-jms/src/test/java/org/springframework/jms/annotation/JmsListenerAnnotationBeanPostProcessorTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2015 the original author or authors.
2+
* Copyright 2002-2016 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -134,12 +134,12 @@ public void sendToAnnotationFoundOnProxy() throws Exception {
134134
}
135135

136136
@Test
137+
@SuppressWarnings("resource")
137138
public void invalidProxy() {
138139
thrown.expect(BeanCreationException.class);
139140
thrown.expectCause(is(instanceOf(IllegalStateException.class)));
140141
thrown.expectMessage("handleIt2");
141-
new AnnotationConfigApplicationContext(
142-
Config.class, ProxyConfig.class, InvalidProxyTestBean.class);
142+
new AnnotationConfigApplicationContext(Config.class, ProxyConfig.class, InvalidProxyTestBean.class);
143143
}
144144

145145

0 commit comments

Comments
 (0)