mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 09:49:01 +00:00
Polish ternary expressions
Consistently format ternary expressions and always favor `!=` as the the check.
This commit is contained in:
+1
-1
@@ -154,7 +154,7 @@ public class CliTester implements TestRule {
|
||||
}
|
||||
}
|
||||
else {
|
||||
sources[i] = new File(arg).isAbsolute() ? arg : this.prefix + arg;
|
||||
sources[i] = (new File(arg).isAbsolute() ? arg : this.prefix + arg);
|
||||
}
|
||||
}
|
||||
return sources;
|
||||
|
||||
Reference in New Issue
Block a user