mirror of https://github.com/apache/jclouds.git
Address Checkstyle violations
This commit is contained in:
parent
8aeed868f4
commit
b3a320e015
|
@ -37,7 +37,9 @@ public class UpdateDomainsToJSON implements MapBinder {
|
|||
@Override
|
||||
public <R extends HttpRequest> R bindToRequest(R request, Map<String, Object> postParams) {
|
||||
Iterable<Integer> ids = Iterable.class.cast(postParams.get("ids"));
|
||||
String key, value, updateTemplate;
|
||||
String key;
|
||||
String value;
|
||||
String updateTemplate;
|
||||
|
||||
if (postParams.get("emailAddress") != null) {
|
||||
updateTemplate = "{\"id\":%s,\"%s\":\"%s\"}";
|
||||
|
|
|
@ -117,7 +117,7 @@ public class Record {
|
|||
return string().toString();
|
||||
}
|
||||
|
||||
public final static class Builder {
|
||||
public static final class Builder {
|
||||
private String name;
|
||||
private String type;
|
||||
private Optional<Integer> ttl = Optional.absent();
|
||||
|
|
|
@ -134,7 +134,7 @@ public class RecordDetail {
|
|||
return string().toString();
|
||||
}
|
||||
|
||||
public final static class Builder {
|
||||
public static final class Builder {
|
||||
private String id;
|
||||
private Date created;
|
||||
private Date updated;
|
||||
|
|
|
@ -40,7 +40,7 @@ public class RecordSet extends ForwardingList<Value> {
|
|||
|
||||
private final String type;
|
||||
private final int ttl;
|
||||
private transient final List<Value> values;
|
||||
private final transient List<Value> values;
|
||||
|
||||
private RecordSet(String type, int ttl, List<Value> values) {
|
||||
this.type = checkNotNull(type, "type");
|
||||
|
@ -124,7 +124,7 @@ public class RecordSet extends ForwardingList<Value> {
|
|||
return new Builder().from(this);
|
||||
}
|
||||
|
||||
public final static class Builder {
|
||||
public static final class Builder {
|
||||
private Optional<String> label = Optional.absent();
|
||||
private Optional<Integer> weight = Optional.absent();
|
||||
private Map<String, Object> rdata;
|
||||
|
@ -191,7 +191,7 @@ public class RecordSet extends ForwardingList<Value> {
|
|||
return new Builder().from(this);
|
||||
}
|
||||
|
||||
public final static class Builder {
|
||||
public static final class Builder {
|
||||
private String type;
|
||||
private int ttl = -1;
|
||||
private ImmutableList.Builder<Value> values = ImmutableList.builder();
|
||||
|
|
Loading…
Reference in New Issue