prateekm commented on a change in pull request #1039: SAMZA-2197: [Scala 
cleanup] Convert TaskConfig to Java 
URL: https://github.com/apache/samza/pull/1039#discussion_r291299969
 
 

 ##########
 File path: samza-core/src/main/scala/org/apache/samza/util/Util.scala
 ##########
 @@ -80,7 +81,7 @@ object Util extends Logging {
   def getTaskClassVersion(config: Config): String = {
     try {
       val taskClass = Option(new ApplicationConfig(config).getAppClass())
 
 Review comment:
   An if-else would be a lot more readable :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to