diff options
author | pdragosh <pd1248@att.com> | 2022-08-03 08:23:37 -0500 |
---|---|---|
committer | Pamela Dragosh <pd1248@att.com> | 2022-08-03 14:57:28 +0000 |
commit | 1aad832010c53333011778e706974991394564e0 (patch) | |
tree | c521447c30053dcb016d013d1ec172f10cff1037 /models-dao/src/main/java/org | |
parent | 0ee2d997a118b4239c1a9d05fc3fd98028d0ba35 (diff) |
Upgrade to oparent 3.2.1
Use commons and parent
Issue-ID: POLICY-4211
Change-Id: I553a2d7531e0e91266a833e5b655e4d0fb42f079
Signed-off-by: pdragosh <pd1248@att.com>
Diffstat (limited to 'models-dao/src/main/java/org')
-rw-r--r-- | models-dao/src/main/java/org/onap/policy/models/dao/impl/DefaultPfDao.java | 8 |
1 files changed, 4 insertions, 4 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 ef86c177b..183ff0ad7 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 @@ -1,7 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2019-2021 Nordix Foundation. - * Modifications Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2019-2022 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -623,8 +623,8 @@ public class DefaultPfDao implements PfDao { * Check that a query returned one and only one entry and return that entry. * * @param someClass the class being searched for - * @param conceptName the concept name being searched for - * @param resultList the result list returned by the query + * @param searchFilter the concept name being searched for + * @param ret the result list returned by the query * @return the single unique result */ private <T extends PfConcept> T getSingleResult(final Class<T> someClass, final String searchFilter, List<T> ret) { @@ -682,7 +682,7 @@ public class DefaultPfDao implements PfDao { * * @param <T> the type of the object to get, a subclass of {@link PfConcept} * @param someClass the class of the object to get, a subclass of {@link PfConcept} - * @param t the object that was retrieved from the database + * @param objToCheck the object that was retrieved from the database * @return the checked object or null */ private <T extends PfConcept> T checkAndReturn(final Class<T> someClass, final T objToCheck) { |