aboutsummaryrefslogtreecommitdiff
path: root/value/src/main/java/com
diff options
context:
space:
mode:
authorÉamonn McManus <emcmanus@google.com>2023-04-25 14:16:21 -0700
committerGoogle Java Core Libraries <java-libraries-firehose+copybara@google.com>2023-04-25 14:16:58 -0700
commita68931cc6cea1bcc4246e72a61a0544a7a5ad756 (patch)
treeffe703e6b0687bf08a153ad2e33327038bc7651a /value/src/main/java/com
parent3c967d79a07d0b23d911afc66904f4104a42209c (diff)
downloadauto-a68931cc6cea1bcc4246e72a61a0544a7a5ad756.tar.gz
Ensure class values are tested in the `Everything` annotation.
This is a test-only change that corrects an omission in test coverage. Class values in annotations do in fact work, but this particular test was not demonstrating that. RELNOTES=n/a PiperOrigin-RevId: 527072293
Diffstat (limited to 'value/src/main/java/com')
-rw-r--r--value/src/main/java/com/google/auto/value/processor/TypeVariables.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/value/src/main/java/com/google/auto/value/processor/TypeVariables.java b/value/src/main/java/com/google/auto/value/processor/TypeVariables.java
index ae27f91b..5000389e 100644
--- a/value/src/main/java/com/google/auto/value/processor/TypeVariables.java
+++ b/value/src/main/java/com/google/auto/value/processor/TypeVariables.java
@@ -236,7 +236,7 @@ final class TypeVariables {
// ImmutableSet<? extends T> target = ImmutableSet.copyOf(actualParameter);
// We will infer E=<? extends T> and rewrite the formal parameter type to
// <? extends T>[], which we must simplify to T[].
- // TODO: what if getExtendsBound() returns null?
+ // TODO - returns null?
comp = MoreTypes.asWildcard(comp).getExtendsBound();
}
return typeUtils.getArrayType(comp);