aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2019-10-29 17:45:34 +0000
committerGerrit Code Review <gerrit@onap.org>2019-10-29 17:45:34 +0000
commit884fb564f0a04474527a049f096f024c7ab8bab4 (patch)
tree3e718ca8e20a1970d7bbc4402d0868e43c38a4fc
parent6cd319c18ed78fd5d9644a22ee0b20717a1677d0 (diff)
parent6ff501c0284dd1176baad4bfae7511340c64c55f (diff)
Merge "Cleanup eclipse warnings in common"
-rw-r--r--policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/TopicBaseHashedFactory.java2
-rw-r--r--utils/src/main/java/org/onap/policy/common/utils/coder/PropertyCoder.java4
2 files changed, 1 insertions, 5 deletions
diff --git a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/TopicBaseHashedFactory.java b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/TopicBaseHashedFactory.java
index 38ee25a4..f53c5ea8 100644
--- a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/TopicBaseHashedFactory.java
+++ b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/TopicBaseHashedFactory.java
@@ -59,7 +59,7 @@ public abstract class TopicBaseHashedFactory<T extends Topic> implements TopicBa
protected abstract List<String> getServers(String topicName, Properties properties);
/**
- * is this topic managed?
+ * Determines if this topic is managed.
*
* @param topicName name.
* @param properties properties.
diff --git a/utils/src/main/java/org/onap/policy/common/utils/coder/PropertyCoder.java b/utils/src/main/java/org/onap/policy/common/utils/coder/PropertyCoder.java
index 7b3c16d3..972cba5f 100644
--- a/utils/src/main/java/org/onap/policy/common/utils/coder/PropertyCoder.java
+++ b/utils/src/main/java/org/onap/policy/common/utils/coder/PropertyCoder.java
@@ -25,19 +25,15 @@ import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
-
import java.io.Reader;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import lombok.AccessLevel;
import lombok.Getter;
-
import org.apache.commons.lang3.StringUtils;
import org.onap.policy.common.utils.security.CryptoCoder;
import org.onap.policy.common.utils.security.CryptoUtils;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
/**
* JSON encoder and decoder using the "property" mechanism, which is currently gson.