From: anushadasari Date: Tue, 30 Jul 2019 10:19:15 +0000 (+0530) Subject: Add "@Override" annotation above method signature X-Git-Tag: 0.5.0~1^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F92263%2F1;p=ccsdk%2Fsli%2Fadaptors.git Add "@Override" annotation above method signature Using the @Override annotation is useful for: It elicits a warning from the compiler if the annotated method doesn't actually override anything, as in the case of a misspelling. It improves the readability of the source code by making it obvious that methods are overridden. Change-Id: Ibcba103817ae804b064972cbe93c4a7e85076db7 Issue-ID: CCSDK-1558 Signed-off-by: anushadasari --- diff --git a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/CustomQueryRequest.java b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/CustomQueryRequest.java index 89228865..a99e6d5e 100755 --- a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/CustomQueryRequest.java +++ b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/CustomQueryRequest.java @@ -5,6 +5,7 @@ * Copyright (C) 2017 AT&T Intellectual Property. All rights * reserved. * Modifications Copyright (C) 2018 IBM. + * Modifications Copyright (C) 2019 IBM. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -118,7 +119,8 @@ public class CustomQueryRequest extends AAIRequest { return requestUrl; } - + + @Override public AAIDatum jsonStringToObject(String jsonData) throws IOException { if(jsonData == null) { return null;