More unit test coverage and code cleanup
[dmaap/datarouter.git] / datarouter-prov / src / main / java / org / onap / dmaap / datarouter / provisioning / beans / DeliveryExtraRecord.java
index 2a959f3..0a5258e 100644 (file)
@@ -25,7 +25,6 @@
 package org.onap.dmaap.datarouter.provisioning.beans;\r
 \r
 import java.sql.PreparedStatement;\r
-import java.sql.ResultSet;\r
 import java.sql.SQLException;\r
 import java.sql.Types;\r
 import java.text.ParseException;\r
@@ -44,12 +43,7 @@ public class DeliveryExtraRecord extends BaseLogRecord {
         this.subid = Integer.parseInt(pp[4]);\r
         this.contentLength2 = Long.parseLong(pp[6]);\r
     }\r
-    public DeliveryExtraRecord(ResultSet rs) throws SQLException {\r
-        super(rs);\r
-        // Note: because this record should be "rare" these fields are mapped to unconventional fields in the DB\r
-        this.subid  = rs.getInt("DELIVERY_SUBID");\r
-        this.contentLength2 = rs.getInt("CONTENT_LENGTH_2");\r
-    }\r
+\r
     @Override\r
     public void load(PreparedStatement ps) throws SQLException {\r
         ps.setString(1, "dlx");        // field 1: type\r