summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/dcae/common/EventConnectionState.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/onap/dcae/common/EventConnectionState.java')
-rw-r--r--src/main/java/org/onap/dcae/common/EventConnectionState.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/dcae/common/EventConnectionState.java b/src/main/java/org/onap/dcae/common/EventConnectionState.java
index 3e53247..83d3c85 100644
--- a/src/main/java/org/onap/dcae/common/EventConnectionState.java
+++ b/src/main/java/org/onap/dcae/common/EventConnectionState.java
@@ -22,7 +22,7 @@ package org.onap.dcae.common;
public enum EventConnectionState {
- INIT, SUBSCRIBED, UNSUBSCRIBED, Unspecified;
+ INIT, SUBSCRIBED, UNSUBSCRIBED, UNSPECIFIED;
public static EventConnectionState fromString(String s) {
if ("init".equalsIgnoreCase(s)) {
@@ -35,7 +35,7 @@ public enum EventConnectionState {
return UNSUBSCRIBED;
}
if ("unspecified".equalsIgnoreCase(s)) {
- return Unspecified;
+ return UNSPECIFIED;
}
throw new IllegalArgumentException("Invalid value for format: " + s);
}