summaryrefslogtreecommitdiffstats
path: root/model/model-api
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2020-07-24 14:17:50 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-24 14:17:50 +0000
commit2169b3fbf66153ea7e066ba0057585822208d6f4 (patch)
treecdcf319b3d1e6a76d93a1e0af982523655147075 /model/model-api
parent68b18f80de1d32fdb3fe892358aae298203b0d99 (diff)
parent0eef1b686645270765c22eeb7a24544e3db6829f (diff)
Merge "Fix replaceAll SONAR issues in apex-pdp"
Diffstat (limited to 'model/model-api')
-rw-r--r--model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/ApexApiResult.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/ApexApiResult.java b/model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/ApexApiResult.java
index 7d69ff551..9fdb471dc 100644
--- a/model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/ApexApiResult.java
+++ b/model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/ApexApiResult.java
@@ -1,6 +1,7 @@
/*-
* ============LICENSE_START=======================================================
* Copyright (C) 2016-2018 Ericsson. All rights reserved.
+ * Modifications Copyright (C) 2020 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -269,7 +270,7 @@ public class ApexApiResult {
} else {
builder.append(",\n\"");
}
- builder.append(message.replaceAll("\"", "\\\\\""));
+ builder.append(message.replace("\"", "\\\\\""));
builder.append("\"");
}
builder.append("]\n");