Committed by
Gerrit Code Review
Remove unnecessary string field.
Change-Id: I1fc215f52bdbf07d914f9867d8b9bbbe3ce35f01
Showing
1 changed file
with
2 additions
and
7 deletions
... | @@ -42,16 +42,11 @@ public class OnosEvent extends AbstractEvent<OnosEvent.Type, GeneratedMessageV3> | ... | @@ -42,16 +42,11 @@ public class OnosEvent extends AbstractEvent<OnosEvent.Type, GeneratedMessageV3> |
42 | /** | 42 | /** |
43 | * Signifies Device events. | 43 | * Signifies Device events. |
44 | */ | 44 | */ |
45 | - DEVICE("DEVICE"), | 45 | + DEVICE, |
46 | 46 | ||
47 | /** | 47 | /** |
48 | * Signifies Link events. | 48 | * Signifies Link events. |
49 | */ | 49 | */ |
50 | - LINK("LINK"); | 50 | + LINK; |
51 | - public String typeName; | ||
52 | - | ||
53 | - Type(String name) { | ||
54 | - typeName = name; | ||
55 | - } | ||
56 | } | 51 | } |
57 | } | 52 | } | ... | ... |
-
Please register or login to post a comment