SPARK-2204: Code cleanup: Remove unnecessary modifiers from enum constructors and inner enums

This commit is contained in:
arthur 2020-11-15 00:35:55 +03:00
parent fda951eabf
commit 1491bb0cde
5 changed files with 8 additions and 8 deletions

View File

@ -54,7 +54,7 @@ public class UriManager {
private String _xml;
private uritypes(String s) {
uritypes(String s) {
_xml = s;
}
public String getXML() {

View File

@ -26,7 +26,7 @@ import org.bouncycastle.openssl.jcajce.JcaPEMWriter;
public class PemHelper {
public static enum typeOfDelimeter {
public enum typeOfDelimeter {
KEY_BEGIN, KEY_END, CERT_BEGIN, CERT_END
}

View File

@ -105,7 +105,7 @@ public class Workpane {
/**
* Type of states a fastpath room can be in.
*/
public static enum RoomState {
public enum RoomState {
/**
* The room contains an incoming request.
*/

View File

@ -481,7 +481,7 @@ public class RoarPreferencePanel extends JPanel {
private String string;
private ColorTypes(String c) {
ColorTypes(String c) {
string = c;
}

View File

@ -59,9 +59,9 @@ public enum Mark {
return value;
}
private Mark(int value, String icon, String redicon) {
this.value = value;
this.icon = icon;
this.redicon = redicon;
Mark(int value, String icon, String redicon) {
this.value = value;
this.icon = icon;
this.redicon = redicon;
}
}