Clean up warning in Gradle build
This commit is contained in:
parent
ea4e7df9ca
commit
6b482df6fa
|
@ -274,6 +274,7 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
|
|||
return null;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Override
|
||||
public long getLastModified(HttpServletRequest request, Object delegate) {
|
||||
return ((MyHandler) delegate).lastModified();
|
||||
|
@ -294,6 +295,7 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
|
|||
throw new ServletException("dummy");
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Override
|
||||
public long getLastModified(HttpServletRequest request, Object delegate) {
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue