From a8b908897eb60953c2298e94d61ad319269bec19 Mon Sep 17 00:00:00 2001 From: Driptaroop Das Date: Fri, 18 Jan 2019 17:48:23 +0530 Subject: AppMessages.java - Sonar Fixes AppMessages.java - Sonar Fixes Issue-ID: MUSIC-275 Change-Id: I3de5a36510e1051efc8b68df995e2f88c38215bf Signed-off-by: Driptaroop Das --- .../onap/music/eelf/logging/format/AppMessages.java | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) 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; } -- cgit 1.2.3-korg