checkstyle MutableException
checkstyle EmptyBlock checkstyle fixRightCurly Script checkstyle EmptyStatement checkstyle RightCurly checkstyle TailingWhite checkstyle NeedBraces Fix the line separator in the `fixRightCurly.gradle`
This commit is contained in:
committed by
Artem Bilan
parent
c0b19e61b5
commit
842aded9a4
@@ -232,7 +232,9 @@ public class RedisQueueMessageDrivenEndpointTests extends RedisAvailableTests {
|
||||
redisTemplate.setValueSerializer(new JdkSerializationRedisSerializer());
|
||||
redisTemplate.afterPropertiesSet();
|
||||
|
||||
while (redisTemplate.boundListOps(queueName).rightPop() != null) {}
|
||||
while (redisTemplate.boundListOps(queueName).rightPop() != null) {
|
||||
// drain
|
||||
}
|
||||
|
||||
RedisQueueMessageDrivenEndpoint endpoint = new RedisQueueMessageDrivenEndpoint(queueName,
|
||||
this.connectionFactory);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
* Copyright 2002-2016 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -108,7 +108,7 @@ public class RedisAvailableTests {
|
||||
|
||||
private void drain(QueueChannel channel) {
|
||||
while (channel.receive(0) != null) {
|
||||
;
|
||||
// drain
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2015 the original author or authors.
|
||||
* Copyright 2014-2016 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -119,7 +119,7 @@ public class RedisLockRegistryTests extends RedisAvailableTests {
|
||||
assertSame(lock1, lock2);
|
||||
lock2.lock();
|
||||
try {
|
||||
|
||||
// just get the lock
|
||||
}
|
||||
finally {
|
||||
lock2.unlock();
|
||||
@@ -144,7 +144,7 @@ public class RedisLockRegistryTests extends RedisAvailableTests {
|
||||
assertSame(lock1, lock2);
|
||||
lock2.lockInterruptibly();
|
||||
try {
|
||||
|
||||
// just get the lock
|
||||
}
|
||||
finally {
|
||||
lock2.unlock();
|
||||
@@ -169,7 +169,7 @@ public class RedisLockRegistryTests extends RedisAvailableTests {
|
||||
assertNotSame(lock1, lock2);
|
||||
lock2.lockInterruptibly();
|
||||
try {
|
||||
|
||||
// just get the lock
|
||||
}
|
||||
finally {
|
||||
lock2.unlock();
|
||||
|
||||
Reference in New Issue
Block a user