From: <[EMAIL PROTECTED]>
> Modified: src/main/org/apache/tools/ant/types
EnumeratedAttribute.java
> Log:
> Fallback to protected attributes to prevent breakage.
> /**
> * The selected value in this enumeration.
> */
> - private String value;
> + protected String value;
>
> /**
> * the index of the selected value in the array.
> */
> - private int index;
> + protected int index;
>
Aren't we back at square one? ;-)
+1 to convert
protected int index;
to
private int index;
and to provide a 'protected final int getIndex()' method instead.
-1 to convert 'protected String value' to 'private String value'
because it would break backwards compatibility.
Cheers,
Magesh
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>