From: BharathS24 Date: Thu, 26 Jul 2018 06:40:20 +0000 (+0530) Subject: Sonar minor issue X-Git-Tag: 3.0.4~12 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=8655e623e033096327cc6b3e46ca49a0def2a1aa;p=dcaegen2%2Fplatform%2Finventory-api.git Sonar minor issue 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 --- diff --git a/src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java b/src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java index f461d26..965953f 100644 --- a/src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java +++ b/src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java @@ -42,7 +42,7 @@ import javax.ws.rs.ext.ExceptionMapper; */ public class DBIExceptionMapper implements ExceptionMapper { - 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