diff options
Diffstat (limited to 'gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/ContextAlbumHandler.java')
-rw-r--r-- | gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/ContextAlbumHandler.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/ContextAlbumHandler.java b/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/ContextAlbumHandler.java index abf81b8..2b29367 100644 --- a/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/ContextAlbumHandler.java +++ b/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/ContextAlbumHandler.java @@ -2,6 +2,7 @@ * ============LICENSE_START======================================================= * Copyright (C) 2018 Ericsson. All rights reserved. * Modifications Copyright (C) 2020 Nordix Foundation. + * Modifications Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -114,7 +115,7 @@ public class ContextAlbumHandler implements RestCommandHandler { session.finishSession(result.isOk()); - LOGGER.exit("ContextAlbum/Create" + (result != null && result.isOk() ? OK : NOT_OK)); + LOGGER.exit("ContextAlbum/Create" + (result.isOk() ? OK : NOT_OK)); return result; } @@ -142,7 +143,7 @@ public class ContextAlbumHandler implements RestCommandHandler { session.finishSession(result.isOk()); - LOGGER.exit("ContextAlbum/Update" + (result != null && result.isOk() ? OK : NOT_OK)); + LOGGER.exit("ContextAlbum/Update" + (result.isOk() ? OK : NOT_OK)); return result; } @@ -191,7 +192,7 @@ public class ContextAlbumHandler implements RestCommandHandler { session.finishSession(result.isOk()); - LOGGER.exit("ContextAlbum/Delete" + (result != null && result.isOk() ? OK : NOT_OK)); + LOGGER.exit("ContextAlbum/Delete" + (result.isOk() ? OK : NOT_OK)); return result; } |