Clean up warnings in Gradle build
This commit is contained in:
parent
6174055910
commit
440a259b71
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2024 the original author or authors.
|
* Copyright 2002-2025 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -422,6 +422,7 @@ class CglibProxyTests extends AbstractAopProxyTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test // SPR-13328
|
@Test // SPR-13328
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
void varargsWithEnumArray() {
|
void varargsWithEnumArray() {
|
||||||
ProxyFactory proxyFactory = new ProxyFactory(new MyBean());
|
ProxyFactory proxyFactory = new ProxyFactory(new MyBean());
|
||||||
MyBean proxy = (MyBean) proxyFactory.getProxy();
|
MyBean proxy = (MyBean) proxyFactory.getProxy();
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2024 the original author or authors.
|
* Copyright 2002-2025 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -141,6 +141,7 @@ class JdkDynamicProxyTests extends AbstractAopProxyTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test // SPR-13328
|
@Test // SPR-13328
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
void varargsWithEnumArray() {
|
void varargsWithEnumArray() {
|
||||||
ProxyFactory proxyFactory = new ProxyFactory(new VarargTestBean());
|
ProxyFactory proxyFactory = new ProxyFactory(new VarargTestBean());
|
||||||
VarargTestInterface proxy = (VarargTestInterface) proxyFactory.getProxy();
|
VarargTestInterface proxy = (VarargTestInterface) proxyFactory.getProxy();
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2024 the original author or authors.
|
* Copyright 2002-2025 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -218,12 +218,12 @@ class ResponseBodyResultHandlerTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@SuppressWarnings("serial")
|
||||||
private static class MyProblemDetail extends ProblemDetail {
|
private static class MyProblemDetail extends ProblemDetail {
|
||||||
|
|
||||||
public MyProblemDetail(HttpStatus status) {
|
public MyProblemDetail(HttpStatus status) {
|
||||||
super(status.value());
|
super(status.value());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2024 the original author or authors.
|
* Copyright 2002-2025 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -839,12 +839,12 @@ class RequestResponseBodyMethodProcessorTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@SuppressWarnings("serial")
|
||||||
private static class MyProblemDetail extends ProblemDetail {
|
private static class MyProblemDetail extends ProblemDetail {
|
||||||
|
|
||||||
public MyProblemDetail(HttpStatus status) {
|
public MyProblemDetail(HttpStatus status) {
|
||||||
super(status.value());
|
super(status.value());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue