Add "@Override" annotation above method signature 63/92263/1
authoranushadasari <danush10@in.ibm.com>
Tue, 30 Jul 2019 10:19:15 +0000 (15:49 +0530)
committeranushadasari <danush10@in.ibm.com>
Tue, 30 Jul 2019 10:22:20 +0000 (15:52 +0530)
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>
aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/CustomQueryRequest.java

index 8922886..a99e6d5 100755 (executable)
@@ -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;