summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-10-29 12:44:35 -0400
committerJim Hahn <jrh3@att.com>2019-10-29 12:44:35 -0400
commit6ff501c0284dd1176baad4bfae7511340c64c55f (patch)
tree31b276f971f0c6c7438b5e704a179c314ecb92e3
parent5784888d49749f614e062fc32934879f1ffa0bd9 (diff)
Cleanup eclipse warnings in common
Issue-ID: POLICY-2204 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: If55ea1a804997ab751f15813e6b643572d4f189f
-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.