Merge "Optimize the areas where its creating extra memory"
authorJames Forsyth <jf2512@att.com>
Tue, 9 Apr 2019 15:16:35 +0000 (15:16 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 9 Apr 2019 15:16:35 +0000 (15:16 +0000)
1  2 
aai-schema-ingest/src/main/java/org/onap/aai/nodes/NodeIngestor.java

@@@ -69,17 -68,21 +68,19 @@@ public class NodeIngestor 
      private String localSchema;
      private SchemaVersions schemaVersions;
      private Set<Translator> translators;
-     
+     private CaseFormatStore caseFormatStore;
      //TODO : See if you can get rid of InputStream resets
 -     /**
 +
 +    /**
       * Instantiates the NodeIngestor bean.
 -     *
 -     * @param  - ConfigTranslator autowired in by Spring framework which
 -     * contains the configuration information needed to ingest the desired files.
 +     * @param translatorSet
       */
  
       @Autowired
      public NodeIngestor(Set<Translator> translatorSet) {
 -        LOGGER.debug("Local Schema files will be fetched");
          this.translators = translatorSet;
+         this.caseFormatStore = new CaseFormatStore();
      }
  
      @PostConstruct