Removing unused code
[dmaap/datarouter.git] / datarouter-prov / src / main / java / org / onap / dmaap / datarouter / provisioning / beans / PubFailRecord.java
index 88d4882..a38d8bd 100644 (file)
@@ -24,7 +24,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
@@ -49,15 +48,6 @@ public class PubFailRecord extends BaseLogRecord {
         this.error = pp[11];\r
     }\r
 \r
-    public PubFailRecord(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.contentLengthReceived = rs.getLong("CONTENT_LENGTH_2");\r
-        this.sourceIP = rs.getString("REMOTE_ADDR");\r
-        this.user = rs.getString("USER");\r
-        this.error = rs.getString("FEED_FILEID");\r
-    }\r
-\r
     public long getContentLengthReceived() {\r
         return contentLengthReceived;\r
     }\r