summaryrefslogtreecommitdiffstats
path: root/aai-service
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-07-30 15:49:15 +0530
committeranushadasari <danush10@in.ibm.com>2019-07-30 15:52:20 +0530
commit1dcea8a9c28ee6c2a1cbb786ad5d85070b4d2d8d (patch)
tree54c8b15d9c0fa6bc292a1fded78684aaccfa3bb8 /aai-service
parent8ab5893402544af46c8dfc67d907daa042e32c7e (diff)
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 <danush10@in.ibm.com>
Diffstat (limited to 'aai-service')
-rwxr-xr-xaai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/CustomQueryRequest.java4
1 files changed, 3 insertions, 1 deletions
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 892288652..a99e6d5ef 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;