From 01d1b768acf1e8d1075eff01b5aa2ea9381ad413 Mon Sep 17 00:00:00 2001 From: Bon-Yong Lee Date: Thu, 6 Sep 2012 13:22:53 +0900 Subject: [PATCH] [Title] Add boilplate and format source [Type] Enhancement [Module] Sub [Priority] Minor [CQ#] // CQ Issue Number [Redmine#] // Redmine Isuue Number [Problem] // Problem Description [Cause] // Cause Description [Solution] // Solution Description [TestCase] // Executed the test-target (How to) --- org.tizen.cli/src/org/tizen/cli/exec/Help.java | 42 ++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/org.tizen.cli/src/org/tizen/cli/exec/Help.java b/org.tizen.cli/src/org/tizen/cli/exec/Help.java index f47d309..aa1bfb8 100755 --- a/org.tizen.cli/src/org/tizen/cli/exec/Help.java +++ b/org.tizen.cli/src/org/tizen/cli/exec/Help.java @@ -1,3 +1,27 @@ +/* + * Web IDE - Command Line Interface + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.cli.exec; import static org.tizen.common.util.StringUtil.EMPTY_STRING; @@ -12,6 +36,15 @@ import org.apache.commons.cli.Options; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +/** + *

+ * Help. + * + * Execute to print out usage for command line + *

+ * + * @author BonYong Lee{@literal } (S-Core) + */ public class Help { @@ -87,9 +120,14 @@ public class Help * * @return execution command */ - protected String getSyntax() + protected + String + getSyntax() { - return nvl( System.getProperty( PROP_PRG ), "java " + getClass().getName() ); + return nvl( + System.getProperty( PROP_PRG ), + "java " + getClass().getName() + ); } -- 2.7.4