Consistent formatting
This commit is contained in:
@@ -38,7 +38,8 @@ public class ContextLoaderTestUtils {
|
||||
public static void setCurrentWebApplicationContext(ClassLoader classLoader, WebApplicationContext applicationContext) {
|
||||
if (applicationContext != null) {
|
||||
currentContextPerThread.put(classLoader, applicationContext);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
currentContextPerThread.remove(classLoader);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ public class ConcurrentWebSocketSessionDecoratorTests {
|
||||
assertTrue(concurrentSession.getTimeSinceSendStarted() > 0);
|
||||
|
||||
TextMessage payload = new TextMessage("payload");
|
||||
for (int i=0; i < 5; i++) {
|
||||
for (int i = 0; i < 5; i++) {
|
||||
concurrentSession.sendMessage(payload);
|
||||
}
|
||||
|
||||
@@ -166,7 +166,7 @@ public class ConcurrentWebSocketSessionDecoratorTests {
|
||||
assertTrue(sentMessageLatch.await(5, TimeUnit.SECONDS));
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for (int i=0 ; i < 1023; i++) {
|
||||
for (int i = 0 ; i < 1023; i++) {
|
||||
sb.append("a");
|
||||
}
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ public class RestTemplateXhrTransportTests {
|
||||
@Test
|
||||
public void connectReceiveAndCloseWithPrelude() throws Exception {
|
||||
StringBuilder sb = new StringBuilder(2048);
|
||||
for (int i=0; i < 2048; i++) {
|
||||
for (int i = 0; i < 2048; i++) {
|
||||
sb.append('h');
|
||||
}
|
||||
String body = sb.toString() + "\n" + "o\n" + "a[\"foo\"]\n" + "c[3000,\"Go away!\"]";
|
||||
|
||||
Reference in New Issue
Block a user