From 8d004c0638e4b865c38527a500c493288328eac8 Mon Sep 17 00:00:00 2001 From: Andre Brait Date: Wed, 19 Aug 2020 17:59:19 +0200 Subject: Allow non-final types, use Integer.MIN_VALUE Allow caching hash code for non-final classes (but will warn) Use Integer.MIN_VALUE to differentiate uncached and 0 cached --- .../resource/messages-ecj/EqualsAndHashCodeCache.java.messages | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/transform/resource/messages-ecj/EqualsAndHashCodeCache.java.messages') diff --git a/test/transform/resource/messages-ecj/EqualsAndHashCodeCache.java.messages b/test/transform/resource/messages-ecj/EqualsAndHashCodeCache.java.messages index 24d202bd..f1686a6e 100644 --- a/test/transform/resource/messages-ecj/EqualsAndHashCodeCache.java.messages +++ b/test/transform/resource/messages-ecj/EqualsAndHashCodeCache.java.messages @@ -1,2 +1,2 @@ -1 Not caching the result of hashCode: Annotated type is not final. -23 Not caching the result of hashCode: Annotated type is not final. \ No newline at end of file +1 Caching the result of hashCode for non-final type. +23 Caching the result of hashCode for non-final type. \ No newline at end of file -- cgit