Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormegumi.telles2014-04-07 22:10:45 +0000
committerMegumi Telles2014-04-08 14:32:11 +0000
commit568a307e7e6655ada9a1638e2cb76cb9f79699b7 (patch)
tree71cc4bf9450b6ec6cadc0c895ab2c1f7e055288a /plugins
parent82e10e0cb1cf23e2a4784f91c335c0d0231a4013 (diff)
downloadorg.eclipse.osee-568a307e7e6655ada9a1638e2cb76cb9f79699b7.tar.gz
org.eclipse.osee-568a307e7e6655ada9a1638e2cb76cb9f79699b7.tar.xz
org.eclipse.osee-568a307e7e6655ada9a1638e2cb76cb9f79699b7.zip
bug[ats_ATS39985]: Fix NPE on AttributeLoadProcessor
-- Initialized logger -- Removed extra debug Change-Id: I69d477af49310647ed9d30e85685bd139d1aa4c5
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/loader/processor/AttributeLoadProcessor.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/loader/processor/AttributeLoadProcessor.java b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/loader/processor/AttributeLoadProcessor.java
index f5ea0d6e878..163e78cafdc 100644
--- a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/loader/processor/AttributeLoadProcessor.java
+++ b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/loader/processor/AttributeLoadProcessor.java
@@ -25,10 +25,11 @@ import org.eclipse.osee.orcs.db.internal.loader.data.AttributeObjectFactory;
*/
public class AttributeLoadProcessor extends LoadProcessor<AttributeData, AttributeObjectFactory> {
- private Log logger;
+ private final Log logger;
public AttributeLoadProcessor(Log logger, AttributeObjectFactory factory) {
super(factory);
+ this.logger = logger;
}
@Override
@@ -58,10 +59,6 @@ public class AttributeLoadProcessor extends LoadProcessor<AttributeData, Attribu
String value = chStmt.getString("value");
String uri = chStmt.getString("uri");
- if (typeId == 167) {
- System.err.println(String.format("Loading artId[%s] attrTypeId[%s] value[%s]", artId, typeId, value));
- System.out.println("here");
- }
toReturn = factory.createAttributeData(version, attrId, typeId, modType, artId, value, uri);

Back to the top