sonar issue 53/31553/1
authorSnigdha Sucharita Patra <sp00503415@techmahindra.com>
Tue, 13 Feb 2018 03:32:19 +0000 (09:02 +0530)
committerSnigdha Sucharita Patra <sp00503415@techmahindra.com>
Tue, 13 Feb 2018 03:32:19 +0000 (09:02 +0530)
Modifiers should be declared in the correct order
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dcaegen2.platform%3Ainventory-api&open=AWEPiFG5-08if2a6xy_m&resolved=false&severities=MINOR
Location:
src/main/java./inventory/exceptions/mappers/DBIExceptionMapper.java
Line No-73

Change-Id: Ib7371864a47a7b5d6ee160083b4034a6fa17c65f
Issue-ID: DCAEGEN2-331
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java

index 4e52b49..0bb22a1 100644 (file)
@@ -70,7 +70,7 @@ public class DBIExceptionMapper<T extends DBIException> implements ExceptionMapp
 
     // Here are the handlers for specific derived DBIException
 
-    public final static class UnableToObtainConnectionExceptionMapper extends DBIExceptionMapper<UnableToObtainConnectionException> {
+    public static final class UnableToObtainConnectionExceptionMapper extends DBIExceptionMapper<UnableToObtainConnectionException> {
     }
 
     public final static class UnableToCreateStatementExceptionMapper extends DBIExceptionMapper<UnableToCreateStatementException> {