diff options
author | 2021-10-01 10:09:17 +0200 | |
---|---|---|
committer | 2021-10-01 10:17:43 +0200 | |
commit | 0f940df172f04ad5261b2443b296b3ab58faf02c (patch) | |
tree | b9b0626100b813dd0185883a2c9e938ab3f920d1 /src/test/java/org/onap/aai/util/SendDeleteMigrationNotificationsTest.java | |
parent | 1cc27839c3c1e06de6b52389921db057bd10c6fc (diff) |
Fix sonar issues :
Remove all printStackTrace
Change split regex
Remove all string comparison with !=
Issue-ID: AAI-3362
Signed-off-by: sliard <samuel.liard@gmail.com>
Change-Id: Ia473d0e2d0af5a6cde333e593c42bddd89709167
Diffstat (limited to 'src/test/java/org/onap/aai/util/SendDeleteMigrationNotificationsTest.java')
-rw-r--r-- | src/test/java/org/onap/aai/util/SendDeleteMigrationNotificationsTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/onap/aai/util/SendDeleteMigrationNotificationsTest.java b/src/test/java/org/onap/aai/util/SendDeleteMigrationNotificationsTest.java index f89f87d..fc7e55f 100644 --- a/src/test/java/org/onap/aai/util/SendDeleteMigrationNotificationsTest.java +++ b/src/test/java/org/onap/aai/util/SendDeleteMigrationNotificationsTest.java @@ -101,7 +101,7 @@ public class SendDeleteMigrationNotificationsTest extends AAISetup { try{ Files.createFile(Paths.get(FILE)); }catch(Exception e) { - e.printStackTrace(); + System.out.println("Create File error : " + e.getMessage()); } String finalStr = ""; finalStr = "pserver" + "#@#" + "/cloud-infrastructure/pservers/pserver/"+SendDeleteMigrationNotifications.class.getSimpleName()+"-pserver-1" + "#@#" + "{\"hostname\":\""+ SendDeleteMigrationNotifications.class.getSimpleName()+"-pserver-1\",\"resource-version\":\"333\"}" + "\n"; |