diff options
Diffstat (limited to 'catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDesc.java')
-rw-r--r-- | catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDesc.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDesc.java b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDesc.java index 7db070f2d5..ec9cf216f2 100644 --- a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDesc.java +++ b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDesc.java @@ -20,23 +20,22 @@ package org.openecomp.sdc.be.dao.cassandra.schema.tables; -import java.util.Map; - +import com.datastax.driver.core.DataType; import org.apache.commons.lang3.tuple.ImmutablePair; import org.openecomp.sdc.be.resources.data.auditing.AuditingTypesConstants; -import com.datastax.driver.core.DataType; +import java.util.Map; public class DistribNotifEventTableDesc extends DistribBaseEventTableDesc { @Override protected void updateColumnDistribDescription(Map<String, ImmutablePair<DataType, Boolean>> columns) { for (DNEFieldsDescription field : DNEFieldsDescription.values()) { - columns.put(field.getName(), new ImmutablePair<DataType, Boolean>(field.type, field.indexed)); + columns.put(field.getName(), new ImmutablePair<>(field.type, field.indexed)); } //replace the base indexed flag value with the correct one for a given table: columns.put(DistFieldsDescription.SERVICE_INST_ID.getName(), - new ImmutablePair<DataType, Boolean>(DistFieldsDescription.SERVICE_INST_ID.getType(), true)); + new ImmutablePair<>(DistFieldsDescription.SERVICE_INST_ID.getType(), true)); } @Override |