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:
Phillip Webb
2012-12-31 13:08:39 -08:00
parent 9364043a64
commit 6626a38730
153 changed files with 1665 additions and 1188 deletions

View File

@@ -25,6 +25,7 @@ import org.apache.struts.tiles.ComponentContext;
* @author Juergen Hoeller
* @since 22.08.2003
*/
@Deprecated
public class TestComponentController extends ComponentControllerSupport {
@Override

View File

@@ -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 {