Apply project formatting rules for ternary operator

Discovered via RegEx: ^\s+\?
This commit is contained in:
Sam Brannen
2022-11-29 17:51:13 +01:00
parent 61d8774da0
commit a88dbbec98
12 changed files with 27 additions and 36 deletions

View File

@@ -238,10 +238,9 @@ class AotServicesTests {
@Override
public Enumeration<URL> getResources(String name) throws IOException {
return (!"META-INF/spring/aot.factories".equals(name))
? super.getResources(name)
: super.getResources("org/springframework/beans/factory/aot/"
+ this.factoriesName);
return (!"META-INF/spring/aot.factories".equals(name) ?
super.getResources(name) :
super.getResources("org/springframework/beans/factory/aot/" + this.factoriesName));
}
}