Fix major sonar issues in so module
https://sonar.onap.org/component_issues?id=org.openecomp.so%3Aso#resolved=false|severities=MAJOR|rules=squid%3AS1161
Add the "@Override" annotation above this method signature
Issue-Id: APPC-186
Change-Id: I1c13d988683b75b6b59e5626e9a0564161d2dc9a
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
private Expression atomicInputVariables;
private Expression outputVariable;
private Expression atomicInputVariables;
private Expression outputVariable;
public void execute(DelegateExecution execution) throws Exception {
if (msoLogger.isDebugEnabled()) {
msoLogger.debug("Started Executing " + getTaskName());
public void execute(DelegateExecution execution) throws Exception {
if (msoLogger.isDebugEnabled()) {
msoLogger.debug("Started Executing " + getTaskName());
*/
private XQueryExecutable compile(XQueryCompiler compiler, String resource)
throws Exception {
*/
private XQueryExecutable compile(XQueryCompiler compiler, String resource)
throws Exception {
- try (InputStream xqStream = getClass().getResourceAsStream(resource)) {
- XQueryExecutable executable = compiler.compile(xqStream);
- return executable;
- } catch (Exception e) {
- msoLogger.debug ("Exception at resourceFile stream:", e);
- return null;
- }
+ try (InputStream xqStream = getClass().getResourceAsStream(resource)) {
+ return compiler.compile(xqStream);
+ } catch (Exception e) {
+ msoLogger.debug ("Exception at resourceFile stream:", e);
+ return null;
+ }
}
}
\ No newline at end of file
}
}
\ No newline at end of file