From 1dcea8a9c28ee6c2a1cbb786ad5d85070b4d2d8d Mon Sep 17 00:00:00 2001 From: anushadasari Date: Tue, 30 Jul 2019 15:49:15 +0530 Subject: 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 --- .../main/java/org/onap/ccsdk/sli/adaptors/aai/CustomQueryRequest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'aai-service/provider') 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; -- cgit 1.2.3-korg