diff options
author | xuegao <xue.gao@intl.att.com> | 2021-03-16 08:18:21 +0100 |
---|---|---|
committer | Christophe Closset <christophe.closset@intl.att.com> | 2021-03-17 12:06:31 +0000 |
commit | fd07dec6fc32c6d20a5f6ca23587ec57fa2346aa (patch) | |
tree | 5e67d877dfa4a7f367f361357e38d97e63f084fa /openecomp-be/lib/openecomp-sdc-versioning-lib/openecomp-sdc-versioning-api/src/main/java | |
parent | 425040c807f03eaae14b3c02708533f4f546d9c6 (diff) |
Improve test coverage
Use Lombok annotations to improve test coverage.
Issue-ID: SDC-3428
Signed-off-by: xuegao <xue.gao@intl.att.com>
Change-Id: I3701c1ae8f8a1648c17227095071a7a581eb8ac1
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-versioning-lib/openecomp-sdc-versioning-api/src/main/java')
-rw-r--r-- | openecomp-be/lib/openecomp-sdc-versioning-lib/openecomp-sdc-versioning-api/src/main/java/org/openecomp/sdc/versioning/types/NotificationEventTypes.java | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-versioning-lib/openecomp-sdc-versioning-api/src/main/java/org/openecomp/sdc/versioning/types/NotificationEventTypes.java b/openecomp-be/lib/openecomp-sdc-versioning-lib/openecomp-sdc-versioning-api/src/main/java/org/openecomp/sdc/versioning/types/NotificationEventTypes.java index 3026ef4798..3e443e6533 100644 --- a/openecomp-be/lib/openecomp-sdc-versioning-lib/openecomp-sdc-versioning-api/src/main/java/org/openecomp/sdc/versioning/types/NotificationEventTypes.java +++ b/openecomp-be/lib/openecomp-sdc-versioning-lib/openecomp-sdc-versioning-api/src/main/java/org/openecomp/sdc/versioning/types/NotificationEventTypes.java @@ -19,10 +19,15 @@ */ package org.openecomp.sdc.versioning.types; +import lombok.AllArgsConstructor; +import lombok.Getter; + /** * @author avrahamg * @since July 10, 2017 */ +@Getter +@AllArgsConstructor public enum NotificationEventTypes { SUBMIT("submit"), DELETE("delete"), @@ -30,13 +35,5 @@ public enum NotificationEventTypes { RESTORE("restore"), COMMIT("commit"); - private String eventName; - - NotificationEventTypes(String eventName) { - this.eventName = eventName; - } - - public String getEventName() { - return eventName; - } + private final String eventName; } |