fix for issue #18

All suggestions seem reasonable. I think we need CLIOptionType however unless we want to use type classes or something similar.



> On Sep 5, 2014, at 9:35 AM, Sean Zhong <notifications@github.com> wrote:
> 
> In src/main/scala/org/apache/gearpump/cluster/main/ArgumentsParser.scala:
> 
> >  class ParseResult(optionMap : Map[String, String], remainArguments : Array[String]) {
> >    def getInt(key : String) = optionMap.get(key).get.toInt
> >  
> > -  def getString (key : String) = optionMap.get(key).get
> > +  def getString (key : String) = optionMap.get(key).get.toString
> optionMap.get(key).get.toString .toString can be removed? since optionMap.get(key).get. is already a string
> 
> —
> Reply to this email directly or view it on GitHub.