diff options
author | Liam Fallon <liam.fallon@est.tech> | 2020-03-20 09:31:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-20 09:31:29 +0000 |
commit | 3dab6d7ec1617f23d4418431fac6f43b0682bd0e (patch) | |
tree | a9ab0427be86e588bfbd786dfaf481f50caaaadd /models-dao | |
parent | f1eb76a0f0773780c9179f6098ed9847ecb9f9fa (diff) | |
parent | 8fdfe4bdac025f450d6b9ea70d7c48afa98fc37e (diff) |
Merge "Misc simple sonar issue fixes"
Diffstat (limited to 'models-dao')
-rw-r--r-- | models-dao/src/main/java/org/onap/policy/models/dao/impl/DefaultPfDao.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 <T extends PfConcept> String setQueryTable(final String queryString, final Class<T> tableClass) { - return queryString.replaceAll(TABLE_TOKEN, tableClass.getSimpleName()); + return queryString.replace(TABLE_TOKEN, tableClass.getSimpleName()); } /** |