Add SeparatorWrap check

This ensures that chained method calls have the dot operator at the
beginning of the line.
pull/50/head
Andrew Gaul 2015-03-12 17:20:54 -07:00
rodzic 7dbdc4faf8
commit 5f117c15a6
2 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -99,6 +99,10 @@
<property name="suppressLoadErrors" value="true"/>
</module>
<module name="RightCurly"/>
<module name="SeparatorWrap">
<property name="tokens" value="DOT"/>
<property name="option" value="nl"/>
</module>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
<module name="StaticVariableName"/>

Wyświetl plik

@ -77,8 +77,8 @@ public final class S3AwsSdkTest {
S3ProxyConstants.PROPERTY_CREDENTIAL);
// The AWS client fails if certificate verification fails
s3Endpoint = new URI(s3ProxyProperties.getProperty(
S3ProxyConstants.PROPERTY_ENDPOINT).
replaceAll("https", "http"));
S3ProxyConstants.PROPERTY_ENDPOINT).replaceAll(
"https", "http"));
String keyStorePath = s3ProxyProperties.getProperty(
S3ProxyConstants.PROPERTY_KEYSTORE_PATH);
String keyStorePassword = s3ProxyProperties.getProperty(