Move initialzeConfig method into AbstractSubCommand constructor.
Change-Id: Ic53c00e98cfafa5a4de8d8d27dcdaa9e182eeb57
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
abstract public class AbstractSubCommand<T> {\r
protected final Logger log = LoggerFactory.getLogger( getClass() );\r
protected File workingDir;\r
+\r
+ public AbstractSubCommand(){\r
+ initializeConfig();\r
+ }\r
\r
/**\r
* @param workingDir the workingDir to set\r
* @throws Exception\r
*/\r
public T runCommand() {\r
- initializeConfig();\r
-\r
T ret = call();\r
\r
return ret;\r