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:
Gary Russell
2016-04-05 09:44:19 -04:00
committed by Artem Bilan
parent c0b19e61b5
commit 842aded9a4
271 changed files with 1094 additions and 821 deletions

View File

@@ -17,7 +17,7 @@
package org.springframework.integration.gemfire.config.xml;
import org.springframework.integration.config.xml.AbstractIntegrationNamespaceHandler;
/**
* @author David Turanski
* @since 2.1

View File

@@ -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);
}

View File

@@ -27,8 +27,8 @@ public enum CqEventType {
UPDATED,
DESTROYED,
REGION_CLEARED,
REGION_INVALIDATED
}

View File

@@ -18,7 +18,7 @@ package org.springframework.integration.gemfire.inbound;
/**
* Enumeration of GemFire event types.
*
*
* @author Mark Fisher
* @since 2.1
*/

View File

@@ -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> {

View File

@@ -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;

View File

@@ -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);
}
}