Replace "if(" with "if ("
This commit is contained in:
@@ -36,7 +36,7 @@ public class ContextLoaderTestUtils {
|
||||
}
|
||||
|
||||
public static void setCurrentWebApplicationContext(ClassLoader classLoader, WebApplicationContext applicationContext) {
|
||||
if(applicationContext != null) {
|
||||
if (applicationContext != null) {
|
||||
currentContextPerThread.put(classLoader, applicationContext);
|
||||
} else {
|
||||
currentContextPerThread.remove(classLoader);
|
||||
|
||||
@@ -234,7 +234,7 @@ public class ConvertingEncoderDecoderSupportTests {
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if(obj instanceof MyType) {
|
||||
if (obj instanceof MyType) {
|
||||
return ((MyType)obj).value.equals(value);
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user