From: Driptaroop Das Date: Fri, 18 Jan 2019 12:18:23 +0000 (+0530) Subject: AppMessages.java - Sonar Fixes X-Git-Tag: 2.5.8~57^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a8b908897eb60953c2298e94d61ad319269bec19;p=music.git AppMessages.java - Sonar Fixes AppMessages.java - Sonar Fixes Issue-ID: MUSIC-275 Change-Id: I3de5a36510e1051efc8b68df995e2f88c38215bf Signed-off-by: Driptaroop Das --- diff --git a/src/main/java/org/onap/music/eelf/logging/format/AppMessages.java b/src/main/java/org/onap/music/eelf/logging/format/AppMessages.java index bef61f25..c406c694 100644 --- a/src/main/java/org/onap/music/eelf/logging/format/AppMessages.java +++ b/src/main/java/org/onap/music/eelf/logging/format/AppMessages.java @@ -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; }