summaryrefslogtreecommitdiffstats
path: root/appc-config/appc-config-generator/provider/src/test
diff options
context:
space:
mode:
authorJakub Dudycz <jakub.dudycz@nokia.com>2018-02-14 13:15:22 +0100
committerPatrick Brady <pb071s@att.com>2018-02-14 17:02:47 +0000
commit3e9e8ed362bc349a5f7a2871512bcf151192174d (patch)
tree2330d3df3126c87af893f56621d7043fd48ebc70 /appc-config/appc-config-generator/provider/src/test
parent8fab95487543a101357ae4945e1d7e261acd3441 (diff)
EscapeUtils sonar fixes
Change-Id: I77e46ec0e71cd37071c725877621fa28c092bfa9 Issue-ID: APPC-633 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Diffstat (limited to 'appc-config/appc-config-generator/provider/src/test')
-rw-r--r--appc-config/appc-config-generator/provider/src/test/java/org/onap/sdnc/config/generator/tool/TestDataTool.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/appc-config/appc-config-generator/provider/src/test/java/org/onap/sdnc/config/generator/tool/TestDataTool.java b/appc-config/appc-config-generator/provider/src/test/java/org/onap/sdnc/config/generator/tool/TestDataTool.java
index 6e1d525c2..2a416f7b2 100644
--- a/appc-config/appc-config-generator/provider/src/test/java/org/onap/sdnc/config/generator/tool/TestDataTool.java
+++ b/appc-config/appc-config-generator/provider/src/test/java/org/onap/sdnc/config/generator/tool/TestDataTool.java
@@ -85,12 +85,12 @@ public class TestDataTool {
String st = "test\"test";
String str = "test\'" + "test";
String strng = "test\0";
- EscapeUtils.escapeSQL(s);
+ EscapeUtils.escapeString(s);
EscapeUtils.escapeSql(s);
- EscapeUtils.escapeSQL(st);
- EscapeUtils.escapeSQL(str);
- EscapeUtils.escapeSQL(strng);
- EscapeUtils.escapeSQL(null);
+ EscapeUtils.escapeString(st);
+ EscapeUtils.escapeString(str);
+ EscapeUtils.escapeString(strng);
+ EscapeUtils.escapeString(null);
}
// @Test(expected = Exception.class)