aboutsummaryrefslogtreecommitdiffstats
path: root/grpc
diff options
context:
space:
mode:
authorpriyanka.akhade <priyanka.akhade@huawei.com>2020-05-12 11:11:18 +0000
committerpriyanka.akhade <priyanka.akhade@huawei.com>2020-05-12 11:11:18 +0000
commitb8935cd526d698118d3b3c5324075626dbeb5c70 (patch)
tree927b7c2495b743fee78e15308c68b52c81e04f2d /grpc
parent81c3cbfc6ff60fc705d142a88a64654a75c010e0 (diff)
sonar security issue fix- Make sure that command line arguments are used safely here
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I103cc54099f7cdd9f196479c934149da4b65dd01
Diffstat (limited to 'grpc')
-rw-r--r--grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java2
1 files changed, 1 insertions, 1 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();
}