aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java2
-rw-r--r--main/src/main/java/org/onap/cli/main/OnapCli.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java b/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java
index 93b5beee..d59416c7 100644
--- a/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java
+++ b/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java
@@ -115,7 +115,7 @@ public class OpenInterfaceGrpcServer {
*/
public static void main(String[] args) throws IOException, InterruptedException {
final OpenInterfaceGrpcServer server = new OpenInterfaceGrpcServer();
- server.start(args.length ==1 ? args[0] : null);
+ server.start(args.length ==1 ? args[0] : null); //NOSONAR
server.blockUntilShutdown();
}
diff --git a/main/src/main/java/org/onap/cli/main/OnapCli.java b/main/src/main/java/org/onap/cli/main/OnapCli.java
index 4119c818..21a0e4aa 100644
--- a/main/src/main/java/org/onap/cli/main/OnapCli.java
+++ b/main/src/main/java/org/onap/cli/main/OnapCli.java
@@ -779,7 +779,7 @@ public class OnapCli {
* array
*/
public static void main(String[] args) {
- OnapCli cli = new OnapCli(args);
+ OnapCli cli = new OnapCli(args); //NOSONAR
cli.handle();
System.exit(cli.getExitCode());
}