diff options
author | 2018-09-14 12:42:58 +0530 | |
---|---|---|
committer | 2018-09-14 12:42:58 +0530 | |
commit | fbee998c8115045344cb1d9e8e9edded5f19ac87 (patch) | |
tree | 36efcea89780ad4e63f8e699fb24972c50e974e9 /src/main/java/com/att/dmf/mr/utils | |
parent | 08d11f2ffff0a611e4a8bb5e584e6a2848edc32e (diff) |
Sonar major issues
This block of commented-out lines of code should be removed
Sonar Link:
https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-Vamo32hFUzlqc51B&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/utils/Emailer.java
Line No:L40 L62 L86 L88
Change-Id: I29269a76d71fe31ba4b48f569ecee3f80eb41bee
Issue-ID: DMAAP-776
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
Diffstat (limited to 'src/main/java/com/att/dmf/mr/utils')
-rw-r--r-- | src/main/java/com/att/dmf/mr/utils/Emailer.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main/java/com/att/dmf/mr/utils/Emailer.java b/src/main/java/com/att/dmf/mr/utils/Emailer.java index 4229d94..bdff501 100644 --- a/src/main/java/com/att/dmf/mr/utils/Emailer.java +++ b/src/main/java/com/att/dmf/mr/utils/Emailer.java @@ -37,8 +37,7 @@ import javax.mail.internet.MimeBodyPart; import javax.mail.internet.MimeMessage; import javax.mail.internet.MimeMultipart; -//import org.slf4j.Logger; -//import org.slf4j.LoggerFactory; + import com.att.ajsc.filemonitor.AJSCPropertiesMap; import com.att.dmf.mr.constants.CambriaConstants; @@ -59,7 +58,7 @@ public class Emailer public Emailer() { fExec = Executors.newCachedThreadPool (); - // fSettings = settings; + } public void send ( String to, String subj, String body ) throws IOException @@ -83,9 +82,9 @@ public class Emailer } private final ExecutorService fExec; - //private final rrNvReadable fSettings; + - //private static final Logger log = LoggerFactory.getLogger ( Emailer.class ); + private static final EELFLogger log = EELFManager.getInstance().getLogger(Emailer.class); |