-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
1.4.2
-
generic
-
generic
In the source code (java.awt.font.TextAttribute), they are defined as:
/**
* Left-to-right run direction.
* @see #RUN_DIRECTION
*/
public static final Boolean RUN_DIRECTION_LTR = new Boolean(false);
/**
* Right-to-left run direction.
* @see #RUN_DIRECTION
*/
public static final Boolean RUN_DIRECTION_RTL = new Boolean(true);
But in the javadoc spec (TextAttribute.RUN_DIRECTION), it says:
Constants
RUN_DIRECTION_LTR = true, RUN_DIRECTION_RTL = false
To keep the compatibility, we need to align the spec to the implementation.
###@###.### 2003-04-18
/**
* Left-to-right run direction.
* @see #RUN_DIRECTION
*/
public static final Boolean RUN_DIRECTION_LTR = new Boolean(false);
/**
* Right-to-left run direction.
* @see #RUN_DIRECTION
*/
public static final Boolean RUN_DIRECTION_RTL = new Boolean(true);
But in the javadoc spec (TextAttribute.RUN_DIRECTION), it says:
Constants
RUN_DIRECTION_LTR = true, RUN_DIRECTION_RTL = false
To keep the compatibility, we need to align the spec to the implementation.
###@###.### 2003-04-18