Add the @Override annotation above method.
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.router-core%3Arouter-core#severities=MINOR%2CMAJOR|resolved=false|assignees=aishkashyap
Location:
src/main/java/org/onap/aai/rest/RestClientEndpoint.java
Line No:90
Issue-ID: AAI-619
Change-Id: I1ad50703a13e1888fbd5e248928db69e48cd6eb9
Signed-off-by: aishkashyap <as00476394@techmahindra.com>
public Consumer createConsumer(Processor processor) throws Exception {
return new RestClientConsumer(this, processor);
}
-
+ @Override
public boolean isSingleton() {
return true;
}