Skip to content

Commit

Permalink
[KYUUBI apache#4367] Improve code style for iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
link3280 committed Apr 15, 2023
1 parent c2a23d5 commit 7b28eaf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -84,7 +84,7 @@ object FlinkEngineUtils extends Logging {
dependencies.add(url)
}
// find jar files in library directories
for (libUrl <- libraries) {
libraries.foreach { libUrl =>
val dir: File = new File(libUrl.toURI)
if (!dir.isDirectory) throw new SqlClientException(s"Directory expected: $dir")
if (!dir.canRead) throw new SqlClientException(s"Directory cannot be read: $dir")
Expand Down

0 comments on commit 7b28eaf

Please sign in to comment.