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

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