Skip to content

Commit

Permalink
fixed checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalyasar committed Jul 23, 2015
1 parent 0fa0fc2 commit 44f3ba8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Expand Up @@ -45,12 +45,12 @@ public AWSClient(AwsConfig awsConfig) {
}

public Collection<String> getPrivateIpAddresses() throws Exception {
final Map<String, String> result = new DescribeInstances(awsConfig,endpoint).execute();
final Map<String, String> result = new DescribeInstances(awsConfig, endpoint).execute();
return result.keySet();
}

public Map<String, String> getAddresses() throws Exception {
return new DescribeInstances(awsConfig,endpoint).execute();
return new DescribeInstances(awsConfig, endpoint).execute();
}

public void setEndpoint(String s) {
Expand Down
Expand Up @@ -39,7 +39,7 @@ public class DescribeInstances {
private String endpoint;
private Map<String, String> attributes = new HashMap<String, String>();

public DescribeInstances(AwsConfig awsConfig,String endpoint) {
public DescribeInstances(AwsConfig awsConfig, String endpoint) {
if (awsConfig == null) {
throw new IllegalArgumentException("AwsConfig is required!");
}
Expand All @@ -49,7 +49,7 @@ public DescribeInstances(AwsConfig awsConfig,String endpoint) {
this.awsConfig = awsConfig;
this.endpoint = endpoint;

rs = new EC2RequestSigner(awsConfig, timeStamp,endpoint);
rs = new EC2RequestSigner(awsConfig, timeStamp, endpoint);
attributes.put("Action", this.getClass().getSimpleName());
attributes.put("Version", DOC_VERSION);
attributes.put("X-Amz-Algorithm", SIGNATURE_METHOD_V4);
Expand Down
Expand Up @@ -49,7 +49,7 @@ public class EC2RequestSigner {
private String endpoint;
private byte[] signingKey;

public EC2RequestSigner(AwsConfig config, final String timeStamp,String endpoint) {
public EC2RequestSigner(AwsConfig config, final String timeStamp, String endpoint) {
if (config == null) {
throw new IllegalArgumentException("config cannot be null");
}
Expand Down

0 comments on commit 44f3ba8

Please sign in to comment.