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
@@ -17,7 +17,7 @@
|
||||
package org.springframework.integration.gemfire.config.xml;
|
||||
|
||||
import org.springframework.integration.config.xml.AbstractIntegrationNamespaceHandler;
|
||||
|
||||
|
||||
/**
|
||||
* @author David Turanski
|
||||
* @since 2.1
|
||||
|
||||
@@ -90,7 +90,8 @@ public class CacheListeningMessageProducer extends ExpressionMessageProducerSupp
|
||||
}
|
||||
try {
|
||||
this.region.getAttributesMutator().removeCacheListener(this.listener);
|
||||
} catch (CacheClosedException e) {
|
||||
}
|
||||
catch (CacheClosedException e) {
|
||||
if (this.logger.isDebugEnabled()){
|
||||
this.logger.debug(e.getMessage(),e);
|
||||
}
|
||||
|
||||
@@ -27,8 +27,8 @@ public enum CqEventType {
|
||||
UPDATED,
|
||||
|
||||
DESTROYED,
|
||||
|
||||
|
||||
REGION_CLEARED,
|
||||
|
||||
|
||||
REGION_INVALIDATED
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ package org.springframework.integration.gemfire.inbound;
|
||||
|
||||
/**
|
||||
* Enumeration of GemFire event types.
|
||||
*
|
||||
*
|
||||
* @author Mark Fisher
|
||||
* @since 2.1
|
||||
*/
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.apache.commons.logging.LogFactory;
|
||||
|
||||
/**
|
||||
* (this is the CacheLogger class that ships in the Spring-Gemfire samples)
|
||||
*
|
||||
*
|
||||
* @author Costin Leau
|
||||
*/
|
||||
public class TestCacheListenerLogger extends CacheListenerAdapter<Object, Object> {
|
||||
|
||||
@@ -145,7 +145,8 @@ public class ForkUtil {
|
||||
}
|
||||
if (controlFileExists(className)){
|
||||
System.out.println("Started cache server");
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
throw new RuntimeException("could not fork cache server");
|
||||
}
|
||||
return os;
|
||||
|
||||
@@ -100,7 +100,8 @@ public class CqInboundChannelAdapterTests {
|
||||
try {
|
||||
os.write("\n".getBytes());
|
||||
os.flush();
|
||||
} catch (IOException ex) {
|
||||
}
|
||||
catch (IOException ex) {
|
||||
throw new IllegalStateException("Cannot communicate with forked VM", ex);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user