AppMessages.java - Sonar Fixes 92/75992/2
authorDriptaroop Das <driptaroop.das@in.ibm.com>
Fri, 18 Jan 2019 12:18:23 +0000 (17:48 +0530)
committerDriptaroop Das <driptaroop.das@in.ibm.com>
Fri, 18 Jan 2019 12:20:28 +0000 (17:50 +0530)
AppMessages.java - Sonar Fixes

Issue-ID: MUSIC-275
Change-Id: I3de5a36510e1051efc8b68df995e2f88c38215bf
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
src/main/java/org/onap/music/eelf/logging/format/AppMessages.java

index bef61f2..c406c69 100644 (file)
@@ -3,6 +3,7 @@
  * org.onap.music
  * ===================================================================
  *  Copyright (c) 2017 AT&T Intellectual Property
+ *  Copyright (c) 2019 IBM Intellectual Property
  * ===================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -143,22 +144,8 @@ public enum AppMessages {
                this.resolution = resolution;
        }
 
-       
-       
-       
-       AppMessages(ErrorTypes eType, ErrorSeverity alarmSeverity,
-                       ErrorSeverity errorSeverity, String errorCode, String errorDescription, String details,
-                       String resolution) {
-       
-               this.eType = eType;
-               this.alarmSeverity = alarmSeverity;
-               this.errorSeverity = errorSeverity;
-               this.errorCode = errorCode;
-               this.errorDescription = errorDescription;
-               this.details = details;
-               this.resolution = resolution;
-       }
-    public ErrorTypes getEType() {
+
+       public ErrorTypes getEType() {
         return eType;
     }