Create.java -Extract assignment out of expression 54/97354/1
authorThugutla sailakshmi <tsaila10@in.ibm.com>
Mon, 21 Oct 2019 08:53:11 +0000 (14:23 +0530)
committerThugutla sailakshmi <tsaila10@in.ibm.com>
Mon, 21 Oct 2019 08:54:52 +0000 (14:24 +0530)
Issue-ID: AAF-876
Change-Id: Ibb45136030e87ee27ece53a6d8c067c654ebc393
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Create.java

index 559ae07..c444722 100644 (file)
@@ -3,6 +3,7 @@
  * org.onap.aaf
  * ===========================================================================
  * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
+ * 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.
@@ -149,7 +150,8 @@ public class Create extends Cmd {
     public void detailedHelp(int _indent, StringBuilder sb) {
             int indent = _indent;
         detailLine(sb,indent,"Create a Permission with:");
-        detailLine(sb,indent+=2,"type     - A Namespace qualified identifier identifying the kind of");
+        indent=indent+2;
+        detailLine(sb,indent,"type     - A Namespace qualified identifier identifying the kind of");
         detailLine(sb,indent+11,"resource to be protected");
         detailLine(sb,indent,"instance - A name that distinguishes a particular instance of resource");
         detailLine(sb,indent,"action   - What kind of action is allowed");