Deprecate outdated abstractions/delegates in core/util

Issue: SPR-15159
This commit is contained in:
Juergen Hoeller
2017-01-23 23:47:14 +01:00
parent fcfacd9f83
commit e2d06eaae5
7 changed files with 48 additions and 29 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2014 the original author or authors.
* Copyright 2002-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@ import static org.junit.Assert.*;
* @author Rod Johnson
* @author Sam Brannen
*/
@SuppressWarnings("deprecation")
public class ControlFlowTests {
@Test
@@ -33,6 +34,7 @@ public class ControlFlowTests {
new Three().test();
}
static class One {
void test() {
@@ -45,6 +47,7 @@ public class ControlFlowTests {
}
}
static class Two {
void testing() {
@@ -57,6 +60,7 @@ public class ControlFlowTests {
}
}
static class Three {
void test() {