Skip to content
Permalink
Browse files
Address Checkstyle violations
  • Loading branch information
gaul committed May 13, 2014
1 parent ba1670f commit ed6d635e98bb3181ec6259e61e2e45601449847a
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 10 deletions.
@@ -91,7 +91,7 @@ protected Builder(){
.endpoint("https://elasticloadbalancing.us-east-1.amazonaws.com")
.homepage(URI.create("http://aws.amazon.com/elasticloadbalancing"))
.console(URI.create("https://console.aws.amazon.com/ec2/home"))
.linkedServices("aws-ec2","aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
.linkedServices("aws-ec2", "aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
.iso3166Codes("US-VA", "US-CA", "BR-SP", "US-OR", "IE", "SG", "AU-NSW", "JP-13")
.apiMetadata(new ELBApiMetadata())
.defaultProperties(AWSELBProviderMetadata.defaultProperties());
@@ -61,7 +61,7 @@ protected Builder(){
.endpoint("https://iam.amazonaws.com")
.homepage(URI.create("http://aws.amazon.com/iam"))
.console(URI.create("https://console.aws.amazon.com/iam/home"))
.linkedServices("aws-ec2","aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
.linkedServices("aws-ec2", "aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
.iso3166Codes("US-VA", "US-CA", "BR-SP", "US-OR", "IE", "SG", "AU-NSW", "JP-13")
.apiMetadata(new IAMApiMetadata())
.defaultProperties(AWSIAMProviderMetadata.defaultProperties());
@@ -16,7 +16,6 @@
*/
package org.jclouds.aws.iam;

import org.jclouds.aws.iam.AWSIAMProviderMetadata;
import org.jclouds.iam.IAMApiMetadata;
import org.jclouds.providers.internal.BaseProviderMetadataTest;
import org.testng.annotations.Test;
@@ -91,7 +91,7 @@ protected Builder(){
.endpoint("https://rds.us-east-1.amazonaws.com")
.homepage(URI.create("http://aws.amazon.com/rds"))
.console(URI.create("https://console.aws.amazon.com/ec2/home"))
.linkedServices("aws-ec2", "aws-rds", "aws-elb", "aws-iam","aws-cloudwatch", "aws-s3", "aws-simpledb")
.linkedServices("aws-ec2", "aws-rds", "aws-elb", "aws-iam", "aws-cloudwatch", "aws-s3", "aws-simpledb")
.iso3166Codes("US-VA", "US-CA", "BR-SP", "US-OR", "IE", "SG", "AU-NSW", "JP-13")
.apiMetadata(new RDSApiMetadata())
.defaultProperties(AWSRDSProviderMetadata.defaultProperties());
@@ -22,7 +22,6 @@
import java.net.URI;
import java.util.Properties;

import org.jclouds.apis.ApiMetadata;
import org.jclouds.elb.config.ELBHttpApiModule;
import org.jclouds.elb.loadbalancer.config.ELBLoadBalancerContextModule;
import org.jclouds.loadbalancer.LoadBalancerServiceContext;
@@ -61,7 +61,7 @@ private void checkPolicyType(PolicyType policyType) {
checkNotNull(policyType.getName(), "Name cannot be null for a PolicyType.");
checkNotNull(policyType.getDescription(), "Description cannot be null for a PolicyType.");
checkNotNull(policyType.getAttributeMetadata(), "While it is ok to have no attributes, the set cannot be null.");
for (AttributeMetadata<?> attributeMetadata: policyType.getAttributeMetadata()) {
for (AttributeMetadata<?> attributeMetadata : policyType.getAttributeMetadata()) {
checkAttributeMetadata(attributeMetadata);
}
}
@@ -22,7 +22,6 @@
import java.net.URI;
import java.util.Properties;

import org.jclouds.apis.ApiMetadata;
import org.jclouds.iam.config.IAMHttpApiModule;
import org.jclouds.rest.internal.BaseHttpApiMetadata;

@@ -29,4 +29,4 @@ public class BaseIAMApiLiveTest extends BaseApiLiveTest<IAMApi> {
public BaseIAMApiLiveTest() {
provider = "iam";
}
}
}
@@ -22,7 +22,6 @@
import java.net.URI;
import java.util.Properties;

import org.jclouds.apis.ApiMetadata;
import org.jclouds.rds.config.RDSHttpApiModule;
import org.jclouds.rest.internal.BaseHttpApiMetadata;

@@ -46,4 +46,4 @@ public Object createOrPropagate(Throwable t) throws Exception {
return valOnNotFoundOr404(null, t);
}
}
}
}

0 comments on commit ed6d635

Please sign in to comment.