Remove redundant modifiers

This commit is contained in:
Phillip Webb
2015-09-08 15:06:44 -07:00
parent 460ca75fce
commit e07df7e4c6
210 changed files with 325 additions and 325 deletions

View File

@@ -76,7 +76,6 @@ public class SpringApplicationLauncherTests {
public void sourcesDefaultPropertiesAndArgsAreUsedToLaunch() throws Exception {
System.setProperty("spring.application.class.name",
TestSpringApplication.class.getName());
Object[] sources = new Object[0];
String[] args = new String[0];
new SpringApplicationLauncher(getClass().getClassLoader()).launch(sources, args);
@@ -108,7 +107,7 @@ public class SpringApplicationLauncherTests {
private List<String> classes = new ArrayList<String>();
public TestClassLoader(ClassLoader parent) {
TestClassLoader(ClassLoader parent) {
super(parent);
}
@@ -120,8 +119,7 @@ public class SpringApplicationLauncherTests {
}
@SuppressWarnings("unused")
private static class TestSpringApplication {
public static class TestSpringApplication {
private static Object[] sources;
@@ -144,7 +142,7 @@ public class SpringApplicationLauncherTests {
private class TestSpringApplicationLauncher extends SpringApplicationLauncher {
public TestSpringApplicationLauncher(ClassLoader classLoader) {
TestSpringApplicationLauncher(ClassLoader classLoader) {
super(classLoader);
}

View File

@@ -191,7 +191,7 @@ public abstract class AbstractHttpClientMockTests {
private final boolean shouldMatch;
public HasAcceptHeader(String value, boolean shouldMatch) {
HasAcceptHeader(String value, boolean shouldMatch) {
this.value = value;
this.shouldMatch = shouldMatch;
}

View File

@@ -386,7 +386,7 @@ public class InitCommandTests extends AbstractHttpClientMockTests {
private ProjectGenerationRequest lastRequest;
public TestableInitCommandOptionHandler(InitializrService initializrService) {
TestableInitCommandOptionHandler(InitializrService initializrService) {
super(initializrService);
}

View File

@@ -90,7 +90,7 @@ public class OutputCapture implements TestRule {
private final OutputStream copy;
public CaptureOutputStream(PrintStream original, OutputStream copy) {
CaptureOutputStream(PrintStream original, OutputStream copy) {
this.original = original;
this.copy = copy;
}