Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.5
-
None
-
None
-
Patch
Description
The problem appears in Groovy 2.0.5 and in revision 740ae7c.. I
attached a one-line patch that fixes it.
In method "AnnotationVisitor.checkIfValidEnumConstsAreUsed", the loop
over "attributes.entrySet()" should break immediately after "ok" is
set to "false". All the iterations after "ok" is set to "false" do
not perform any useful work, at best they just set "ok" again to
"false".