Sonar minor issue 49/57649/1
authorBharathS24 <BS00493532@techmahindra.com>
Thu, 26 Jul 2018 06:40:20 +0000 (12:10 +0530)
committerBharathS24 <BS00493532@techmahindra.com>
Thu, 26 Jul 2018 06:41:11 +0000 (12:11 +0530)
Reorder the modifiers to comply with the Java Language Specification

Sonar Link : https://sonar.onap.org/issues?myIssues=true&open=AWSYoWCawGn37JfbvTzj&resolved=false

Location :  src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java:L45

Change-Id: I079d1297ca7faf25ef7bf2aa7e716b96752a3d6c
Issue-ID: DCAEGEN2-636
Signed-off-by: BharathS24 <BS00493532@techmahindra.com>
src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java

index f461d26..965953f 100644 (file)
@@ -42,7 +42,7 @@ import javax.ws.rs.ext.ExceptionMapper;
  */
 public class DBIExceptionMapper<T extends DBIException> implements ExceptionMapper<T> {
 
-       private final static Logger errorLogger = LoggerFactory.getLogger("errorLogger");
+       private static final Logger errorLogger = LoggerFactory.getLogger("errorLogger");
 
     /**
      * Upon a DBIException, this handler will attempt to re-initialize the Inventory's database connection