cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jasobrown <...@git.apache.org>
Subject [GitHub] cassandra pull request #236: 9608 trunk
Date Mon, 23 Jul 2018 11:58:21 GMT
Github user jasobrown commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/236#discussion_r204364994
  
    --- Diff: src/java/org/apache/cassandra/cql3/functions/JavaBasedUDFunction.java ---
    @@ -591,14 +592,17 @@ private NameEnvironmentAnswer findType(String className)
     
                 String resourceName = className.replace('.', '/') + ".class";
     
    -            try (InputStream is = UDFunction.udfClassLoader.getResourceAsStream(resourceName))
    +            try
    --- End diff --
    
    Not sure why we need a nested `try` block here.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Mime
View raw message