diff options
author | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-08-16 16:32:22 +0530 |
---|---|---|
committer | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-08-16 16:32:22 +0530 |
commit | 8af046d47bc8e36eb3012b54431ce738a35ef8db (patch) | |
tree | bc40a789551e3c06c3c9f1f2290bdf4746ed7d33 /src/main | |
parent | fcd309526b333afbe50ca83a7dd056666809a282 (diff) |
Sonar major issues
This block of commented-out lines of code should be removed
Sonar Link:
https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbSM32hFUzlqc5es&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/nsa/mr/dme/client/DefaultLoggingFailoverFaultHandler.java
Line No-L24 L29 L37 L40 L47 L50
Change-Id: I1ce6b3d5024c262e89db5c487a47ee006fd6eb30
Issue-ID: DMAAP-608
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/att/nsa/mr/dme/client/DefaultLoggingFailoverFaultHandler.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/com/att/nsa/mr/dme/client/DefaultLoggingFailoverFaultHandler.java b/src/main/java/com/att/nsa/mr/dme/client/DefaultLoggingFailoverFaultHandler.java index 813ad59..4f04dec 100644 --- a/src/main/java/com/att/nsa/mr/dme/client/DefaultLoggingFailoverFaultHandler.java +++ b/src/main/java/com/att/nsa/mr/dme/client/DefaultLoggingFailoverFaultHandler.java @@ -21,12 +21,12 @@ *******************************************************************************/ package com.att.nsa.mr.dme.client; -//package com.att.aft.dme2.api; + import java.util.logging.Level; import java.util.logging.Logger; -//import com.att.aft.dme2.api.DME2FailoverFaultHandler; + //import com.att.aft.dme2.api.util.DME2Constants; //import com.att.aft.dme2.api.util.DME2ExchangeFaultContext; //import com.att.aft.dme2.api.util.LogMessage; @@ -34,19 +34,19 @@ import java.util.logging.Logger; public class DefaultLoggingFailoverFaultHandler /*implements DME2FailoverFaultHandler*/ { //TODO: This code may be enable in the future when we implement DME2FailoverFaultHandler interface /** The logger. */ - //private static Logger logger = DME2Constants.getLogger(DefaultLoggingFailoverFaultHandler.class.getName()); + // @Override -// public void handleEndpointFailover(/*DME2ExchangeFaultContext context*/) { + // // LogUtil.INSTANCE.report(logger, Level.WARNING, LogMessage.SEP_FAILOVER, context.getService(),context.getRequestURL(),context.getRouteOffer(),context.getResponseCode(),context.getException()); // } // @Override // /** // * The DME2Exchange already has a log message when the route offer is failed over. We dont need to log it again here. // */ -// public void handleRouteOfferFailover(DME2ExchangeFaultContext context) { + // //noop // -// } + } |