mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-10-29 19:57:28 +00:00
SPARK-2204: Code cleanup: Remove unnecessary modifiers from enum constructors and inner enums
This commit is contained in:
parent
fda951eabf
commit
1491bb0cde
@ -54,7 +54,7 @@ public class UriManager {
|
||||
|
||||
private String _xml;
|
||||
|
||||
private uritypes(String s) {
|
||||
uritypes(String s) {
|
||||
_xml = s;
|
||||
}
|
||||
public String getXML() {
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
|
||||
@ -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.
|
||||
*/
|
||||
|
||||
@ -481,7 +481,7 @@ public class RoarPreferencePanel extends JPanel {
|
||||
|
||||
private String string;
|
||||
|
||||
private ColorTypes(String c) {
|
||||
ColorTypes(String c) {
|
||||
string = c;
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user