From 67266ac8e60fa8605dfc9d37a84e81b6cda5cfc5 Mon Sep 17 00:00:00 2001 From: Thugutla sailakshmi Date: Mon, 21 Oct 2019 14:23:11 +0530 Subject: [PATCH] Create.java -Extract assignment out of expression Issue-ID: AAF-876 Change-Id: Ibb45136030e87ee27ece53a6d8c067c654ebc393 Signed-off-by: Thugutla sailakshmi --- auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Create.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Create.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Create.java index 559ae070..c444722b 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Create.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Create.java @@ -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"); -- 2.16.6