From d74609c535d7aaf098ac6b1113b8940d5c1f838d Mon Sep 17 00:00:00 2001 From: ronshapiro Date: Tue, 10 May 2016 11:15:15 -0700 Subject: Update []'s maven to JavaPoet 1.7 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=121966681 --- factory/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/factory/pom.xml b/factory/pom.xml index 446483a3..28a8d545 100644 --- a/factory/pom.xml +++ b/factory/pom.xml @@ -65,7 +65,7 @@ com.squareup javapoet - 1.6.1 + 1.7.0 javax.inject -- cgit v1.2.3 From fc55ead86ce97538317b4956583003dd8e70980f Mon Sep 17 00:00:00 2001 From: ronshapiro Date: Mon, 16 May 2016 08:17:41 -0700 Subject: Correct comment ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122421609 --- common/src/main/java/com/google/auto/common/AnnotationValues.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/google/auto/common/AnnotationValues.java b/common/src/main/java/com/google/auto/common/AnnotationValues.java index 46069054..9831bcde 100644 --- a/common/src/main/java/com/google/auto/common/AnnotationValues.java +++ b/common/src/main/java/com/google/auto/common/AnnotationValues.java @@ -67,7 +67,7 @@ public final class AnnotationValues { new SimpleAnnotationValueVisitor6>() { @Override protected Boolean defaultAction( Object ignored, List alsoIgnored) { - return false; // Not an annotation mirror, so can't be equal to such. + return false; // Not an array, so can't be equal to such. } @SuppressWarnings("unchecked") // safe covariant cast -- cgit v1.2.3 From c40169e8c9a0d0999e7c729359552b6f6b61b872 Mon Sep 17 00:00:00 2001 From: emcmanus Date: Mon, 16 May 2016 13:23:16 -0700 Subject: =?UTF-8?q?Add=201.2=20=E2=86=92=201.3=20changes=20for=20AutoValue?= =?UTF-8?q?=20to=20its=20CHANGES.md.=20-------------=20Created=20by=20MOE:?= =?UTF-8?q?=20https://github.com/google/moe=20MOE=5FMIGRATED=5FREVID=3D122?= =?UTF-8?q?451284?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- value/CHANGES.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/value/CHANGES.md b/value/CHANGES.md index 35e6a785..8f9b400c 100644 --- a/value/CHANGES.md +++ b/value/CHANGES.md @@ -1,5 +1,45 @@ # AutoValue Changes +## 1.2 → 1.3 + +### Functional changes + +* Support for TYPE_USE `@Nullable`. + This is https://github.com/google/auto/pull/293 by @brychcy. + +* Restructured the code in AutoValueProcessor for handling extensions, to get + rid of warnings about abstract methods when those methods are going to be + implemented by an extension, and to fix a bug where extensions would not work + right if there was a toBuilder() method. Some of the code in this change is + based on https://github.com/google/auto/pull/299 by @rharter. + +* Added support for "optional getters", where a getter in an AutoValue Builder + can have type `Optional` and it will return `Optional.of(x)` where `x` is + the value that has been set in the Builder, or `Optional.empty()` if no value + has been set. + +* In AutoValue builders, added support for setting a property of type + `Optional` via a setter with an argument of type `T`. + +* Added logic to AutoValue to detect the confusing case where you think you + are using JavaBeans conventions (like getFoo()) but you aren't because at + least one method isn't. + +* Added a README.md describing EscapeVelocity. + +### Bugs fixed + +* Allow an `@AutoValue.Builder` to extend a parent builder using the `>` idiom. + +* AutoAnnotation now factors in package names when detecting + overloads. Previously it treated all annotations with the same SimpleName as + being overload attempts. + +* Removed an inaccurate javadoc reference, which referred to an + artifact from an earlier draft version of the Extensions API. This is + https://github.com/google/auto/pull/322 by @lucastsa. + ## 1.1 → 1.2 ### Functional changes -- cgit v1.2.3