Suppress warnings in Gradle build
This commit is contained in:
@@ -28,6 +28,7 @@ public class DeprecatedForRemovalMemberConfiguration {
|
||||
return "deprecated";
|
||||
}
|
||||
|
||||
@SuppressWarnings("removal")
|
||||
public String deprecatedParameter(DeprecatedForRemovalBean bean) {
|
||||
return bean.toString();
|
||||
}
|
||||
|
||||
@@ -28,10 +28,12 @@ public class DeprecatedMemberConfiguration {
|
||||
return "deprecated";
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public String deprecatedParameter(DeprecatedBean bean) {
|
||||
return bean.toString();
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public DeprecatedBean deprecatedReturnType() {
|
||||
return new DeprecatedBean();
|
||||
}
|
||||
|
||||
@@ -399,6 +399,7 @@ public class HandlerMappingIntrospectorTests {
|
||||
}
|
||||
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
private static class TestServlet extends HttpServlet {
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user