From 76fdf3ea035615915575d488ca3f6606f4c941da Mon Sep 17 00:00:00 2001 From: ms236b Date: Thu, 1 Aug 2019 13:36:13 -0400 Subject: 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 --- .../org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'blueprint-generator/src/main/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprint.java') 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 nodeTemplate = new TreeMap(); -- cgit 1.2.3-korg