summaryrefslogtreecommitdiffstats
path: root/utils/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'utils/src/main/java')
-rw-r--r--utils/src/main/java/org/onap/policy/common/utils/network/NetworkUtil.java8
-rw-r--r--utils/src/main/java/org/onap/policy/common/utils/properties/BeanConfigurator.java3
2 files changed, 7 insertions, 4 deletions
diff --git a/utils/src/main/java/org/onap/policy/common/utils/network/NetworkUtil.java b/utils/src/main/java/org/onap/policy/common/utils/network/NetworkUtil.java
index aca34bbe..3976c7a2 100644
--- a/utils/src/main/java/org/onap/policy/common/utils/network/NetworkUtil.java
+++ b/utils/src/main/java/org/onap/policy/common/utils/network/NetworkUtil.java
@@ -60,11 +60,15 @@ public class NetworkUtil {
@Override
public void checkClientTrusted(final java.security.cert.X509Certificate[] certs,
- final String authType) {}
+ final String authType) {
+ // always trust
+ }
@Override
public void checkServerTrusted(final java.security.cert.X509Certificate[] certs,
- final String authType) {}
+ final String authType) {
+ // always trust
+ }
}
};
// @formatter:on
diff --git a/utils/src/main/java/org/onap/policy/common/utils/properties/BeanConfigurator.java b/utils/src/main/java/org/onap/policy/common/utils/properties/BeanConfigurator.java
index 9d02819a..2ef91911 100644
--- a/utils/src/main/java/org/onap/policy/common/utils/properties/BeanConfigurator.java
+++ b/utils/src/main/java/org/onap/policy/common/utils/properties/BeanConfigurator.java
@@ -526,9 +526,8 @@ public class BeanConfigurator {
* @param methodName name of the method to return
* @return the method to be used to get the field's value
* @throws NoSuchMethodException if the method does not exist
- * @throws SecurityException if the method cannot be accessed
*/
- protected Method getGetter(Field field, String methodName) throws NoSuchMethodException, SecurityException {
+ protected Method getGetter(Field field, String methodName) throws NoSuchMethodException {
return field.getDeclaringClass().getMethod(methodName);
}