Polishing
This commit is contained in:
@@ -1898,7 +1898,7 @@ public class SpelReproTests extends AbstractExpressionTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void SPR12803() throws Exception {
|
||||
public void SPR12803() {
|
||||
StandardEvaluationContext sec = new StandardEvaluationContext();
|
||||
sec.setVariable("iterable", Collections.emptyList());
|
||||
SpelExpressionParser parser = new SpelExpressionParser();
|
||||
@@ -1907,7 +1907,7 @@ public class SpelReproTests extends AbstractExpressionTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void SPR12808() throws Exception {
|
||||
public void SPR12808() {
|
||||
SpelExpressionParser parser = new SpelExpressionParser();
|
||||
Expression expression = parser.parseExpression("T(org.springframework.expression.spel.SpelReproTests.DistanceEnforcer).from(#no)");
|
||||
StandardEvaluationContext sec = new StandardEvaluationContext();
|
||||
@@ -2092,9 +2092,9 @@ public class SpelReproTests extends AbstractExpressionTests {
|
||||
}
|
||||
|
||||
|
||||
private static enum ABC { A, B, C }
|
||||
private enum ABC { A, B, C }
|
||||
|
||||
private static enum XYZ { X, Y, Z }
|
||||
private enum XYZ { X, Y, Z }
|
||||
|
||||
|
||||
public static class BooleanHolder {
|
||||
@@ -2121,9 +2121,9 @@ public class SpelReproTests extends AbstractExpressionTests {
|
||||
}
|
||||
|
||||
|
||||
private static interface GenericInterface<T extends Number> {
|
||||
private interface GenericInterface<T extends Number> {
|
||||
|
||||
public T getProperty();
|
||||
T getProperty();
|
||||
}
|
||||
|
||||
|
||||
@@ -2148,9 +2148,9 @@ public class SpelReproTests extends AbstractExpressionTests {
|
||||
}
|
||||
|
||||
|
||||
public static interface StaticFinal {
|
||||
public interface StaticFinal {
|
||||
|
||||
public static final String VALUE = "interfaceValue";
|
||||
String VALUE = "interfaceValue";
|
||||
}
|
||||
|
||||
|
||||
@@ -2227,7 +2227,7 @@ public class SpelReproTests extends AbstractExpressionTests {
|
||||
}
|
||||
|
||||
|
||||
@SuppressWarnings({ "rawtypes", "serial" })
|
||||
@SuppressWarnings({"rawtypes", "serial"})
|
||||
public static class MapWithConstant extends HashMap {
|
||||
|
||||
public static final int X = 1;
|
||||
|
||||
Reference in New Issue
Block a user