mirror of https://github.com/apache/jclouds.git
JCLOUDS-857: remove spurious annotation
Multiple constructors annotated with @SerializedNames confuses NamingStrategies.translateName and causes failures with newer JDK. Since the second constructor does not need this annotation we remote it.
This commit is contained in:
parent
841a184898
commit
1c1cfffd5d
|
@ -34,7 +34,6 @@ public abstract class UrlMapValidateResult {
|
|||
return new AutoValue_UrlMapValidateResult(result);
|
||||
}
|
||||
|
||||
@SerializedNames({"loadSucceeded", "loadErrors", "testPassed", "testFailures"})
|
||||
public static UrlMapValidateResult create(Boolean loadSucceeded, List<String> loadErrors,
|
||||
Boolean testPassed, List<UrlMapValidateResultInternal.TestFailure> testFailures) {
|
||||
return create(UrlMapValidateResultInternal.create(loadSucceeded, loadErrors, testPassed, testFailures));
|
||||
|
|
Loading…
Reference in New Issue