From: Bon-Yong Lee Date: Wed, 5 Sep 2012 06:03:10 +0000 (+0900) Subject: [Title] Add help detail for web-signing X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88011812d3de060475cbba536a2e212b056f3473;p=sdk%2Fide%2Fcommon-eplugin.git [Title] Add help detail for web-signing [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) --- diff --git a/org.tizen.common/src/org/tizen/common/core/command/prompter/AbstractOption.java b/org.tizen.common/src/org/tizen/common/core/command/prompter/AbstractOption.java old mode 100644 new mode 100755 index d60b177..3d945f0 --- a/org.tizen.common/src/org/tizen/common/core/command/prompter/AbstractOption.java +++ b/org.tizen.common/src/org/tizen/common/core/command/prompter/AbstractOption.java @@ -93,7 +93,7 @@ implements Option } /** - * Return whether this choice is default {@link ChoiceOption} + * Return whether this choice is default {@link AbstractOption} * * @return boolean value if this choice is default */ @@ -154,11 +154,11 @@ implements Option final Object obj ) { - if ( !( obj instanceof ChoiceOption ) ) + if ( !( obj instanceof AbstractOption ) ) { return false; } - final ChoiceOption other = (ChoiceOption) obj; + final AbstractOption other = (AbstractOption) obj; return ObjectUtil.equals( this.name, other.name ); } diff --git a/org.tizen.common/src/org/tizen/common/util/PropertyUtil.java b/org.tizen.common/src/org/tizen/common/util/PropertyUtil.java index fa97edd..4c38d33 100755 --- a/org.tizen.common/src/org/tizen/common/util/PropertyUtil.java +++ b/org.tizen.common/src/org/tizen/common/util/PropertyUtil.java @@ -66,7 +66,6 @@ public abstract class PropertyUtil { try { props.load(inputStream); } catch (Exception e) { - e.printStackTrace(); } finally { tryClose( inputStream ); } @@ -77,7 +76,6 @@ public abstract class PropertyUtil { try { props.store(outputStream, null); } catch (Exception e) { - e.printStackTrace(); return false; } finally { tryClose( outputStream ); @@ -92,7 +90,6 @@ public abstract class PropertyUtil { writer = new BufferedWriter(new FileWriter(fileName)); props.store(writer, null); } catch (Exception e) { - e.printStackTrace(); return false; } finally { tryClose( writer ); diff --git a/org.tizen.common/test/src/org/tizen/common/util/FilenameUtilTest.java b/org.tizen.common/test/src/org/tizen/common/util/FilenameUtilTest.java old mode 100644 new mode 100755 index 42ffdf2..3805c48 --- a/org.tizen.common/test/src/org/tizen/common/util/FilenameUtilTest.java +++ b/org.tizen.common/test/src/org/tizen/common/util/FilenameUtilTest.java @@ -95,6 +95,10 @@ FilenameUtilTest new Object[] { "/aaa/bbb/ccc", "aaa", "/aaa/bbb/ccc/aaa" }, new Object[] { "/aaa/bbb/ccc/", "aaa", "/aaa/bbb/ccc/aaa" }, new Object[] { "/aaa/bbb/ccc/", "/aaa", "/aaa/bbb/ccc/aaa" }, + new Object[] { "/home/bylee/tizen_sdk/tools/ide", "conf/profiles.xml", "/home/bylee/tizen_sdk/tools/ide/conf/profiles.xml" }, + new Object[] { "/home/bylee/tizen_sdk/tools/ide/", "conf/profiles.xml", "/home/bylee/tizen_sdk/tools/ide/conf/profiles.xml" }, + new Object[] { "/home/bylee/tizen_sdk/tools/ide/", "/conf/profiles.xml", "/home/bylee/tizen_sdk/tools/ide/conf/profiles.xml" }, + new Object[] { "C:\test", "profiles.xml", "C:\test/profiles.xml" } }; int iTest = 0;