Minor code cleanup

This commit is contained in:
Jean-Rémi Desjardins
2014-12-03 09:56:34 -08:00
parent 015c61ad69
commit ca736e55d3
68 changed files with 126 additions and 126 deletions
@@ -141,7 +141,7 @@ private final class CachedCompiler0(args: Array[String], output: Output, initial
final class Compat { def allConditionalWarnings = List[CondWarnCompat]() }
val warnings = run.allConditionalWarnings
if (!warnings.isEmpty)
if (warnings.nonEmpty)
compiler.logUnreportedWarnings(warnings.map(cw => ("" /*cw.what*/ , cw.warnings.toList)))
}