Remove redundant modifiers
This commit is contained in:
@@ -289,7 +289,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
|
||||
}
|
||||
}
|
||||
|
||||
private final String getStartClass() throws MojoExecutionException {
|
||||
private String getStartClass() throws MojoExecutionException {
|
||||
String mainClass = this.mainClass;
|
||||
if (mainClass == null) {
|
||||
try {
|
||||
@@ -368,7 +368,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
|
||||
|
||||
private static class TestArtifactFilter extends AbstractArtifactFeatureFilter {
|
||||
|
||||
public TestArtifactFilter() {
|
||||
TestArtifactFilter() {
|
||||
super("", Artifact.SCOPE_TEST);
|
||||
}
|
||||
|
||||
@@ -386,7 +386,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
|
||||
|
||||
private Throwable exception;
|
||||
|
||||
public IsolatedThreadGroup(String name) {
|
||||
IsolatedThreadGroup(String name) {
|
||||
super(name);
|
||||
}
|
||||
|
||||
@@ -417,7 +417,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
|
||||
private final String startClassName;
|
||||
private final String[] args;
|
||||
|
||||
public LaunchRunner(String startClassName, String... args) {
|
||||
LaunchRunner(String startClassName, String... args) {
|
||||
this.startClassName = startClassName;
|
||||
this.args = (args != null ? args : new String[] {});
|
||||
}
|
||||
|
||||
@@ -273,7 +273,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
|
||||
return this.layout;
|
||||
}
|
||||
|
||||
private LayoutType(Layout layout) {
|
||||
LayoutType(Layout layout) {
|
||||
this.layout = layout;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,11 +33,11 @@ class RunArguments {
|
||||
|
||||
private final LinkedList<String> args;
|
||||
|
||||
public RunArguments(String arguments) {
|
||||
RunArguments(String arguments) {
|
||||
this(parseArgs(arguments));
|
||||
}
|
||||
|
||||
public RunArguments(String[] args) {
|
||||
RunArguments(String[] args) {
|
||||
this.args = new LinkedList<String>(Arrays.asList(args));
|
||||
}
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ class SpringApplicationAdminClient {
|
||||
|
||||
private final ObjectName objectName;
|
||||
|
||||
public SpringApplicationAdminClient(MBeanServerConnection connection, String jmxName) {
|
||||
SpringApplicationAdminClient(MBeanServerConnection connection, String jmxName) {
|
||||
this.connection = connection;
|
||||
this.objectName = toObjectName(jmxName);
|
||||
}
|
||||
|
||||
@@ -287,7 +287,7 @@ public class StartMojo extends AbstractRunMojo {
|
||||
|
||||
private final int port;
|
||||
|
||||
public CreateJmxConnector(int port) {
|
||||
CreateJmxConnector(int port) {
|
||||
this.port = port;
|
||||
}
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ public final class Verify {
|
||||
|
||||
private final File file;
|
||||
|
||||
public AbstractArchiveVerification(File file) {
|
||||
AbstractArchiveVerification(File file) {
|
||||
this.file = file;
|
||||
}
|
||||
|
||||
@@ -271,7 +271,7 @@ public final class Verify {
|
||||
|
||||
private static class ZipArchiveVerification extends AbstractArchiveVerification {
|
||||
|
||||
public ZipArchiveVerification(File file) {
|
||||
ZipArchiveVerification(File file) {
|
||||
super(file);
|
||||
}
|
||||
|
||||
@@ -287,7 +287,7 @@ public final class Verify {
|
||||
|
||||
private static class ModuleArchiveVerification extends AbstractArchiveVerification {
|
||||
|
||||
public ModuleArchiveVerification(File file) {
|
||||
ModuleArchiveVerification(File file) {
|
||||
super(file);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user