Fix [deprecation] compiler warnings
Fix deprecation compiler warnings by refactoring code or applying
@SuppressWarnings("deprecation") annotations. JUnit tests of
internally deprecated classes are now themselves marked as
@Deprecated.
Numerous EasyMock deprecation warnings will remain until the
migration to mockito can be completed.
This commit is contained in:
@@ -25,6 +25,7 @@ import org.apache.struts.tiles.ComponentContext;
|
||||
* @author Juergen Hoeller
|
||||
* @since 22.08.2003
|
||||
*/
|
||||
@Deprecated
|
||||
public class TestComponentController extends ComponentControllerSupport {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -42,6 +42,7 @@ import org.springframework.web.servlet.view.InternalResourceViewResolver;
|
||||
* @author Alef Arendsen
|
||||
* @author Juergen Hoeller
|
||||
*/
|
||||
@Deprecated
|
||||
public class TilesViewTests {
|
||||
|
||||
protected StaticWebApplicationContext prepareWebApplicationContext() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user