提交 0dc8a22d 编写于 作者: J Josh Soref

Dropping redundant enum modifiers

上级 c0815b50
......@@ -47,7 +47,7 @@ public enum Platform {
*/
public final char pathSeparator;
private Platform(char pathSeparator) {
Platform(char pathSeparator) {
this.pathSeparator = pathSeparator;
}
......
......@@ -75,7 +75,7 @@ public enum ResultTrend {
private final Localizable description;
private ResultTrend(Localizable description) {
ResultTrend(Localizable description) {
this.description = description;
}
......
......@@ -236,7 +236,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
*/
private volatile transient State state;
private static enum State {
private enum State {
/**
* Build is created/queued but we haven't started building it.
*/
......
......@@ -225,7 +225,7 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
* Simple connection status enum.
*/
@Restricted(NoExternalUse.class)
static enum ConnectionStatus {
enum ConnectionStatus {
/**
* Connection status has not started yet.
*/
......@@ -1888,7 +1888,7 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
return VerificationResult.FAIL;
}
private static enum VerificationResult {
private enum VerificationResult {
PASS,
NOT_PROVIDED,
NOT_COMPUTED,
......
......@@ -334,7 +334,7 @@ public class NodeProvisioner {
* Represents the decision taken by an individual {@link hudson.slaves.NodeProvisioner.Strategy}.
* @since 1.588
*/
public static enum StrategyDecision {
public enum StrategyDecision {
/**
* This decision is the default decision and indicates that the {@link hudson.slaves.NodeProvisioner.Strategy}
* either could not provision sufficient resources or did not take any action. Any remaining strategies
......
......@@ -45,7 +45,7 @@ enum Boundary {
private final int offsetOfExactMatch, offsetOfInsertionPoint;
private Boundary(int offsetOfExactMatch, int offsetOfInsertionPoint) {
Boundary(int offsetOfExactMatch, int offsetOfInsertionPoint) {
this.offsetOfExactMatch = offsetOfExactMatch;
this.offsetOfInsertionPoint = offsetOfInsertionPoint;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册