From a33b340778705ba0e9cdc4035febb7b460108bc8 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Mon, 27 May 2024 09:33:21 +0200 Subject: [PATCH] fix a comment for some reason my fingers always make this mistake Signed-off-by: Gavin King --- .../main/java/org/hibernate/processor/HibernateProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java index 81f165c1a5..6c6d760b83 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java @@ -287,7 +287,7 @@ public class HibernateProcessor extends AbstractProcessor { private static boolean packagePresent(@Nullable PackageElement pack) { return pack != null - //HHH-18019 ejc always returns a non-null PackageElement + //HHH-18019 ecj always returns a non-null PackageElement && !pack.getEnclosedElements().isEmpty(); }