From 8fdfe4bdac025f450d6b9ea70d7c48afa98fc37e Mon Sep 17 00:00:00 2001 From: Chris Ramstad Date: Tue, 17 Mar 2020 11:52:02 -0700 Subject: Misc simple sonar issue fixes Issue-ID: POLICY-2389 Signed-off-by: Chris Ramstad Change-Id: I7ce91e331a128aaadaab5ac837e19873a3388164 --- .../src/main/java/org/onap/policy/models/dao/impl/DefaultPfDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models-dao/src/main/java/org/onap') diff --git a/models-dao/src/main/java/org/onap/policy/models/dao/impl/DefaultPfDao.java b/models-dao/src/main/java/org/onap/policy/models/dao/impl/DefaultPfDao.java index 6707e70a2..d78172436 100644 --- a/models-dao/src/main/java/org/onap/policy/models/dao/impl/DefaultPfDao.java +++ b/models-dao/src/main/java/org/onap/policy/models/dao/impl/DefaultPfDao.java @@ -586,7 +586,7 @@ public class DefaultPfDao implements PfDao { * @return the updated query string */ private String setQueryTable(final String queryString, final Class tableClass) { - return queryString.replaceAll(TABLE_TOKEN, tableClass.getSimpleName()); + return queryString.replace(TABLE_TOKEN, tableClass.getSimpleName()); } /** -- cgit 1.2.3-korg