diff options
author | ms236b <ms236b@att.com> | 2019-08-01 13:36:13 -0400 |
---|---|---|
committer | ms236b <ms236b@att.com> | 2019-08-19 09:26:02 -0400 |
commit | 76fdf3ea035615915575d488ca3f6606f4c941da (patch) | |
tree | f91b05142a7acf9f3b48d50346ce38638f3cfe10 /blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java | |
parent | c5bfc898e79431603cbd8fda93fc67efd2aad77f (diff) |
Fixed the streams and the imports issues
Fixed the issues with the streams and with the imports and space
Issue-ID: DCAEGEN2-1517
Change-Id: I856f1fa3fc47faea19388096f739519db0fe41d8
Signed-off-by: ms236b <ms236b@att.com>
Diffstat (limited to 'blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java')
-rw-r--r-- | blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java b/blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java index ff93307..d3cff67 100644 --- a/blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java +++ b/blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java @@ -49,13 +49,13 @@ public class DmaapBlueprint extends Blueprint{ //set the imports Imports imps = new Imports(); if(importPath.equals("")) { - imps.createDmaapImports(); + bp.setImports(imps.createDmaapImports()); } else { - imps.createImportsFromFile(importPath); + bp.setImports(imps.createImportsFromFile(importPath)); } - bp.setImports(imps.getImports()); + //bp.setImports(imps.getImports()); //set and create the node templates TreeMap<String, Node> nodeTemplate = new TreeMap(); |