kopia lustrzana https://github.com/gaul/s3proxy
Enforce 80 character line length via Checkstyle
rodzic
452d8d366c
commit
f39ea39d93
|
@ -327,14 +327,17 @@ final class S3ProxyHandler extends AbstractHandler {
|
||||||
writer.write("<AccessControlPolicy>\r\n" +
|
writer.write("<AccessControlPolicy>\r\n" +
|
||||||
" <Owner>\r\n" +
|
" <Owner>\r\n" +
|
||||||
" <ID>" + FAKE_OWNER_ID + "</ID>\r\n" +
|
" <ID>" + FAKE_OWNER_ID + "</ID>\r\n" +
|
||||||
" <DisplayName>" + FAKE_OWNER_DISPLAY_NAME + "</DisplayName>\r\n" +
|
" <DisplayName>" + FAKE_OWNER_DISPLAY_NAME +
|
||||||
|
"</DisplayName>\r\n" +
|
||||||
" </Owner>\r\n" +
|
" </Owner>\r\n" +
|
||||||
" <AccessControlList>\r\n" +
|
" <AccessControlList>\r\n" +
|
||||||
" <Grant>\r\n" +
|
" <Grant>\r\n" +
|
||||||
" <Grantee xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n" +
|
" <Grantee xmlns:xsi=" +
|
||||||
|
"\"http://www.w3.org/2001/XMLSchema-instance\"\r\n" +
|
||||||
" xsi:type=\"CanonicalUser\">\r\n" +
|
" xsi:type=\"CanonicalUser\">\r\n" +
|
||||||
" <ID>" + FAKE_OWNER_ID + "</ID>\r\n" +
|
" <ID>" + FAKE_OWNER_ID + "</ID>\r\n" +
|
||||||
" <DisplayName>" + FAKE_OWNER_DISPLAY_NAME + "</DisplayName>\r\n" +
|
" <DisplayName>" + FAKE_OWNER_DISPLAY_NAME +
|
||||||
|
"</DisplayName>\r\n" +
|
||||||
" </Grantee>\r\n" +
|
" </Grantee>\r\n" +
|
||||||
" <Permission>FULL_CONTROL</Permission>\r\n" +
|
" <Permission>FULL_CONTROL</Permission>\r\n" +
|
||||||
" </Grant>\r\n" +
|
" </Grant>\r\n" +
|
||||||
|
@ -351,7 +354,8 @@ final class S3ProxyHandler extends AbstractHandler {
|
||||||
"<ListAllMyBucketsResult " + AWS_XMLNS + ">\r\n" +
|
"<ListAllMyBucketsResult " + AWS_XMLNS + ">\r\n" +
|
||||||
" <Owner>\r\n" +
|
" <Owner>\r\n" +
|
||||||
" <ID>" + FAKE_OWNER_ID + "</ID>\r\n" +
|
" <ID>" + FAKE_OWNER_ID + "</ID>\r\n" +
|
||||||
" <DisplayName>" + FAKE_OWNER_DISPLAY_NAME + "</DisplayName>\r\n" +
|
" <DisplayName>" + FAKE_OWNER_DISPLAY_NAME +
|
||||||
|
"</DisplayName>\r\n" +
|
||||||
" </Owner>\r\n" +
|
" </Owner>\r\n" +
|
||||||
" <Buckets>\r\n");
|
" <Buckets>\r\n");
|
||||||
|
|
||||||
|
@ -564,7 +568,8 @@ final class S3ProxyHandler extends AbstractHandler {
|
||||||
" <StorageClass>STANDARD</StorageClass>\r\n" +
|
" <StorageClass>STANDARD</StorageClass>\r\n" +
|
||||||
" <Owner>\r\n" +
|
" <Owner>\r\n" +
|
||||||
" <ID>" + FAKE_OWNER_ID + "</ID>\r\n" +
|
" <ID>" + FAKE_OWNER_ID + "</ID>\r\n" +
|
||||||
" <DisplayName>" + FAKE_OWNER_DISPLAY_NAME + "</DisplayName>\r\n" +
|
" <DisplayName>" + FAKE_OWNER_DISPLAY_NAME +
|
||||||
|
"</DisplayName>\r\n" +
|
||||||
" </Owner>\r\n" +
|
" </Owner>\r\n" +
|
||||||
" </Contents>\r\n");
|
" </Contents>\r\n");
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,10 +42,7 @@
|
||||||
<module name="InterfaceIsType"/>
|
<module name="InterfaceIsType"/>
|
||||||
<module name="JavadocStyle"/>
|
<module name="JavadocStyle"/>
|
||||||
<module name="LeftCurly"/>
|
<module name="LeftCurly"/>
|
||||||
<module name="LineLength">
|
<module name="LineLength"/>
|
||||||
<!-- ignore long string literals -->
|
|
||||||
<property name="ignorePattern" value="^ *".*" \+$"/>
|
|
||||||
</module>
|
|
||||||
<module name="LocalFinalVariableName"/>
|
<module name="LocalFinalVariableName"/>
|
||||||
<module name="LocalVariableName"/>
|
<module name="LocalVariableName"/>
|
||||||
<module name="MagicNumber">
|
<module name="MagicNumber">
|
||||||
|
|
Ładowanie…
Reference in New Issue