diff options
author | Magnusen, Drew (dm741q) <dm741q@att.com> | 2017-07-25 12:25:52 -0500 |
---|---|---|
committer | Magnusen, Drew (dm741q) <dm741q@att.com> | 2017-07-25 14:19:50 -0500 |
commit | ae2b3da4f94f0ba59708042912c941732243496f (patch) | |
tree | 94517def2c3cb5d7d2d10dd74da0e2d20b4ac5ac /common-logging/src/main/java/org/openecomp/policy/common/logging/eelf | |
parent | 85f5fade13c0c326c808cea21d85e79814fd862a (diff) |
[POLICY-81] Code cleanup to eliminate the presence of warning messages in Eclipse.
Change-Id: Id98fdf0241487d56707ac91cde47975c91225f3c
Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
Diffstat (limited to 'common-logging/src/main/java/org/openecomp/policy/common/logging/eelf')
4 files changed, 1 insertions, 12 deletions
diff --git a/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/ErrorCodeMap.java b/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/ErrorCodeMap.java index 4e4457d0..abd972e1 100644 --- a/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/ErrorCodeMap.java +++ b/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/ErrorCodeMap.java @@ -21,7 +21,6 @@ package org.openecomp.policy.common.logging.eelf; import java.util.HashMap; -import java.util.Map; /** * @@ -31,7 +30,7 @@ import java.util.Map; public class ErrorCodeMap { - public static HashMap<MessageCodes, ErrorCodeInfo> hm = new HashMap(); + public static HashMap<MessageCodes, ErrorCodeInfo> hm = new HashMap<MessageCodes, ErrorCodeInfo>(); private static String ERROR_PERMISSIONS = "POLICY-100E"; private static String ERROR_PERMISSIONS_DESCRIPTION = "This is a Permissions Error. Please check the error message for detail information"; diff --git a/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/EventData.java b/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/EventData.java index eb0bffc7..d26a4977 100644 --- a/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/EventData.java +++ b/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/EventData.java @@ -22,8 +22,6 @@ package org.openecomp.policy.common.logging.eelf; import java.time.Instant; -import javax.swing.text.html.parser.Entity; - /** * * EventData can be used for logging a rule event. diff --git a/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/EventTrackInfo.java b/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/EventTrackInfo.java index c6ed63d4..f1b7afb5 100644 --- a/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/EventTrackInfo.java +++ b/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/EventTrackInfo.java @@ -20,14 +20,8 @@ package org.openecomp.policy.common.logging.eelf; -import java.io.IOException; -import java.time.Instant; -import java.util.Properties; -import java.util.UUID; import java.util.concurrent.ConcurrentHashMap; -import org.openecomp.policy.common.logging.flexlogger.PropertyUtil; - /** * * EventTrackInfo contains a ConcurrentHashMap of EventData diff --git a/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/EventTrackInfoHandler.java b/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/EventTrackInfoHandler.java index a947ed01..e45f8998 100644 --- a/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/EventTrackInfoHandler.java +++ b/common-logging/src/main/java/org/openecomp/policy/common/logging/eelf/EventTrackInfoHandler.java @@ -23,8 +23,6 @@ package org.openecomp.policy.common.logging.eelf; import java.time.Duration; import java.time.Instant; import java.util.ArrayList; -import java.util.Iterator; -import java.util.Timer; import java.util.TimerTask; /** |