diff options
author | megumi.telles | 2014-04-07 22:10:45 +0000 |
---|---|---|
committer | Megumi Telles | 2014-04-08 14:32:11 +0000 |
commit | 568a307e7e6655ada9a1638e2cb76cb9f79699b7 (patch) | |
tree | 71cc4bf9450b6ec6cadc0c895ab2c1f7e055288a | |
parent | 82e10e0cb1cf23e2a4784f91c335c0d0231a4013 (diff) | |
download | org.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
-rw-r--r-- | plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/loader/processor/AttributeLoadProcessor.java | 7 |
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); |