Skip to content

Commit

Permalink
fixing spacing for java sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
soo-aws committed Jun 14, 2017
1 parent d535a28 commit 970ab8b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@ public class ListBuckets
{
public static void main(String[] args)
{
final AmazonS3 s3 = AmazonS3ClientBuilder.defaultClient();
final AmazonS3 s3 = AmazonS3ClientBuilder.defaultClient();
List<Bucket> buckets = s3.listBuckets();
System.out.println("Your Amazon S3 buckets are:");
for (Bucket b : buckets) {
System.out.println("* " + b.getName());
}
}
}

0 comments on commit 970ab8b

Please sign in to comment.