aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be
diff options
context:
space:
mode:
authorvempo <vitaliy.emporopulo@amdocs.com>2017-12-29 16:22:45 +0200
committerAvi Gaffa <avi.gaffa@amdocs.com>2017-12-31 07:58:56 +0000
commit1de05ba162b61b32976b0e7d2e29fe3182a106cc (patch)
treedb3adb80f539dce7779d0b88c878056f12c5e161 /openecomp-be
parente8412188d7c00a8ae6775dfe6f3978635545907e (diff)
Default constructors in activity-log-api module
Change-Id: Ibf61aaae8a8023b528eac5982e1488c26060a3e1 Issue-ID: SDC-343 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'openecomp-be')
-rw-r--r--openecomp-be/lib/openecomp-sdc-activity-log-lib/openecomp-sdc-activity-log-api/src/main/java/org/openecomp/sdc/activitylog/dao/type/ActivityLogEntity.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-activity-log-lib/openecomp-sdc-activity-log-api/src/main/java/org/openecomp/sdc/activitylog/dao/type/ActivityLogEntity.java b/openecomp-be/lib/openecomp-sdc-activity-log-lib/openecomp-sdc-activity-log-api/src/main/java/org/openecomp/sdc/activitylog/dao/type/ActivityLogEntity.java
index 36a4bbcbfd..b277fe1cb5 100644
--- a/openecomp-be/lib/openecomp-sdc-activity-log-lib/openecomp-sdc-activity-log-api/src/main/java/org/openecomp/sdc/activitylog/dao/type/ActivityLogEntity.java
+++ b/openecomp-be/lib/openecomp-sdc-activity-log-lib/openecomp-sdc-activity-log-api/src/main/java/org/openecomp/sdc/activitylog/dao/type/ActivityLogEntity.java
@@ -44,7 +44,13 @@ public class ActivityLogEntity {
private String message;
private String comment;
+ /**
+ * Every entity class must have a default constructor according to
+ * <a href="http://docs.datastax.com/en/developer/java-driver/2.1/manual/object_mapper/creating/">
+ * Definition of mapped classes</a>.
+ */
public ActivityLogEntity() {
+ // Don't delete! Default constructor is required by DataStax driver
}
public ActivityLogEntity(String itemId, Version version) {