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:
Andrew Gaul 2015-07-01 15:13:00 -07:00
parent 841a184898
commit 1c1cfffd5d
1 changed files with 0 additions and 1 deletions

View File

@ -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));