JCLOUDS-1101: Upgrade to auto-value 1.4-rc2

This resolves issues using Java 9.  Release notes:

https://github.com/google/auto/releases/tag/auto-value-1.4-rc2
This commit is contained in:
Andrew Gaul 2017-03-06 16:23:19 -08:00
parent ec932321bd
commit 49f4617afa
3 changed files with 3 additions and 7 deletions

View File

@ -62,9 +62,7 @@ public abstract class NetworkSettings {
.build();
}
public Builder toBuilder() {
return new AutoValue_NetworkSettings_Details.Builder(this);
}
public abstract Builder toBuilder();
public static Builder builder() {
return new AutoValue_NetworkSettings_Details.Builder();

View File

@ -232,7 +232,7 @@
<assertj-guava.version>1.3.0</assertj-guava.version>
<auto-factory.version>0.1-beta1</auto-factory.version>
<auto-service.version>1.0-rc2</auto-service.version>
<auto-value.version>1.1</auto-value.version>
<auto-value.version>1.4-rc2</auto-value.version>
<java-xmlbuilder.version>1.1</java-xmlbuilder.version>
<osgi.version>4.2.0</osgi.version>
<osgi.compendium.version>${osgi.version}</osgi.compendium.version>

View File

@ -141,9 +141,7 @@ public abstract class Firewall {
.protocol(Protocol.ANY);
}
public Builder toBuilder() {
return new AutoValue_Firewall_Rule.Builder(this);
}
public abstract Builder toBuilder();
@AutoValue.Builder
public abstract static class Builder {