Add Autowired annotation to the constructor instead of param in ExternalTestingImpl 12/107012/1
authorRodrigo Lima <rodrigo.lima@yoppworks.com>
Mon, 4 May 2020 00:24:35 +0000 (20:24 -0400)
committerRodrigo Lima <rodrigo.lima@yoppworks.com>
Mon, 4 May 2020 00:24:35 +0000 (20:24 -0400)
Issue-ID: SDC-3003
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: I720c6cf271a1444a584f42cdca2a7e4f2c59a85d

openecomp-be/api/openecomp-sdc-rest-webapp/externaltesting-rest/externaltesting-rest-services/src/main/java/org/openecomp/sdcrests/externaltesting/rest/services/ExternalTestingImpl.java

index 851dec2..1aae929 100644 (file)
@@ -62,7 +62,8 @@ public class ExternalTestingImpl implements ExternalTesting {
 
     private static final Logger logger = LoggerFactory.getLogger(ExternalTestingImpl.class);
 
-    public ExternalTestingImpl(@Autowired ExternalTestingManager testingManager) {
+    @Autowired
+    public ExternalTestingImpl(ExternalTestingManager testingManager) {
         this.testingManager = testingManager;
         this.vendorSoftwareProductManager = VspManagerFactory.getInstance().createInterface();
     }