diff options
Diffstat (limited to 'common-logging/src/main/java/org/onap/policy/common/logging/eelf/EventData.java')
-rw-r--r-- | common-logging/src/main/java/org/onap/policy/common/logging/eelf/EventData.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common-logging/src/main/java/org/onap/policy/common/logging/eelf/EventData.java b/common-logging/src/main/java/org/onap/policy/common/logging/eelf/EventData.java index 2aaa1146..2267b909 100644 --- a/common-logging/src/main/java/org/onap/policy/common/logging/eelf/EventData.java +++ b/common-logging/src/main/java/org/onap/policy/common/logging/eelf/EventData.java @@ -33,6 +33,9 @@ public class EventData { private Instant startTime = null; private Instant endTime = null; + //Default constructor takes no arguments. + //Is empty because instance variables are assigned + //their default values upon declaration. public EventData() { } @@ -68,6 +71,7 @@ public class EventData { this.endTime = endTime; } + @Override public String toString(){ return requestID + " Starting Time : " + this.startTime + " Ending Time : " + this.endTime; } |