kopia lustrzana https://github.com/gaul/s3proxy
Fix indentation and work around wrong visibility
Found via Checkstyle 7.2.pull/176/merge
rodzic
778002e7f5
commit
80e256435e
|
@ -28,6 +28,8 @@ final class S3AuthorizationHeader {
|
|||
private static final String SIGNATURE_FIELD = "Signature=";
|
||||
private static final String CREDENTIAL_FIELD = "Credential=";
|
||||
|
||||
// TODO: these fields should have accessors
|
||||
// CHECKSTYLE:OFF
|
||||
final String hmacAlgorithm;
|
||||
final String hashAlgorithm;
|
||||
final String region;
|
||||
|
@ -35,6 +37,7 @@ final class S3AuthorizationHeader {
|
|||
final String service;
|
||||
final String identity;
|
||||
final String signature;
|
||||
// CHECKSTYLE:ON
|
||||
|
||||
S3AuthorizationHeader(String header) {
|
||||
if (header.startsWith("AWS ")) {
|
||||
|
|
|
@ -84,7 +84,7 @@ public final class JcloudsBucketsLiveTest extends BucketsLiveTest {
|
|||
@Override
|
||||
@Test
|
||||
public void testUpdateBucketACL() throws InterruptedException,
|
||||
ExecutionException, TimeoutException, IOException, Exception {
|
||||
ExecutionException, TimeoutException, IOException, Exception {
|
||||
try {
|
||||
super.testUpdateBucketACL();
|
||||
Fail.failBecauseExceptionWasNotThrown(AWSResponseException.class);
|
||||
|
|
|
@ -87,7 +87,7 @@ public final class JcloudsS3ClientLiveTest extends S3ClientLiveTest {
|
|||
@Override
|
||||
@Test
|
||||
public void testPublicWriteOnObject() throws InterruptedException,
|
||||
ExecutionException, TimeoutException, IOException {
|
||||
ExecutionException, TimeoutException, IOException {
|
||||
try {
|
||||
super.testPublicWriteOnObject();
|
||||
Fail.failBecauseExceptionWasNotThrown(AWSResponseException.class);
|
||||
|
@ -100,7 +100,7 @@ public final class JcloudsS3ClientLiveTest extends S3ClientLiveTest {
|
|||
@Override
|
||||
@Test
|
||||
public void testUpdateObjectACL() throws InterruptedException,
|
||||
ExecutionException, TimeoutException, IOException {
|
||||
ExecutionException, TimeoutException, IOException {
|
||||
try {
|
||||
super.testUpdateObjectACL();
|
||||
Fail.failBecauseExceptionWasNotThrown(AWSResponseException.class);
|
||||
|
|
Ładowanie…
Reference in New Issue