RT: code refactoring
author주경민/L5/프로/개발플랫폼팀/에스코어 <gyeongmin.ju@samsung.com>
Tue, 12 Sep 2017 05:28:26 +0000 (14:28 +0900)
committer허형석/개발플랫폼팀/L5/ <harry.heo@samsung.com>
Tue, 12 Sep 2017 12:12:34 +0000 (21:12 +0900)
rt-ide/tizen.rt.product.plugin/src/org/tizen/rt/ide/commands/FlashCommand.java

index 638a154..a214487 100644 (file)
@@ -52,6 +52,8 @@ public class FlashCommand extends AbstractCommand {
      */
     private static final String FILE_NAME_FLASH_SCRIPT = ".flashSpec.xml"; //$NON-NLS-1$
     private static final String FILE_NAME_BUILD_INFO = "build.info"; //$NON-NLS-1$
+    
+    private static final String COMMAND_FLASH = "flash"; //$NON-NLS-1$
 
     protected static String getScriptFileName() {
         return FILE_NAME_FLASH_SCRIPT; // $NON-NLS-1$
@@ -111,7 +113,7 @@ public class FlashCommand extends AbstractCommand {
             return 1;
         }
 
-        String flashCmdName = "flash"; //$NON-NLS-1$
+        String flashCmdName = COMMAND_FLASH;
         int result = flashScript.doCommand(flashCmdName, option, null);
 
         return result;