Clean up warnings in Gradle build
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.messaging.handler.invocation.reactive;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
@@ -70,6 +71,7 @@ public class MethodMessageHandlerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unchecked")
|
||||
public void bestMatch() throws NoSuchMethodException {
|
||||
TestMethodMessageHandler handler = new TestMethodMessageHandler();
|
||||
TestController controller = new TestController();
|
||||
@@ -88,6 +90,7 @@ public class MethodMessageHandlerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unchecked")
|
||||
public void argumentResolution() {
|
||||
|
||||
ArgumentResolverConfigurer configurer = new ArgumentResolverConfigurer();
|
||||
@@ -108,6 +111,7 @@ public class MethodMessageHandlerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unchecked")
|
||||
public void handleException() {
|
||||
|
||||
TestMethodMessageHandler handler = initMethodMessageHandler(TestController.class);
|
||||
@@ -150,7 +154,6 @@ public class MethodMessageHandlerTests {
|
||||
return delay("handleMessage");
|
||||
}
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
public Mono<String> handleMessageWithArgument(String payload) {
|
||||
return delay("handleMessageWithArgument,payload=" + payload);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user