You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by "karan singh malhi (JIRA)" <ji...@apache.org> on 2006/03/02 05:43:40 UTC

[jira] Created: (HARMONY-151) RI docs does not specify values for constant fields in javax.accessibility.AccessibleAction interface

RI docs does not specify values for constant fields in javax.accessibility.AccessibleAction interface
-----------------------------------------------------------------------------------------------------

         Key: HARMONY-151
         URL: http://issues.apache.org/jira/browse/HARMONY-151
     Project: Harmony
        Type: Bug
  Components: Classlib  
    Reporter: karan singh malhi


The RI docs do not specify the Constant field values for the three fields defined in the javax.accessibility.AccessibleAction interface

However, the following code displays the values in those fields:
----------------------------------------------------------------------------------------
public class AccessibleActionTest {
    public static void main(String[] args) {
        System.out.println(AccessibleAction.DECREMENT );
        System.out.println(AccessibleAction.INCREMENT );
        System.out.println(AccessibleAction.TOGGLE_EXPAND);
    }
}
----------------------------------------------------------------------------------------
The output is :

decrement
increment
toggle expand

Should we go ahead and initialize the fields of the AccessibleAction interface with the values obtained from the above output ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (HARMONY-151) RI docs does not specify values for constant fields in javax.accessibility.AccessibleAction interface

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-151?page=comments#action_12368487 ] 

Tim Ellison commented on HARMONY-151:
-------------------------------------

Yes, that is a reasonable approach -- I expect that the lack of specification for these values is an oversight.

> RI docs does not specify values for constant fields in javax.accessibility.AccessibleAction interface
> -----------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-151
>          URL: http://issues.apache.org/jira/browse/HARMONY-151
>      Project: Harmony
>         Type: Bug
>   Components: Classlib
>     Reporter: karan singh malhi

>
> The RI docs do not specify the Constant field values for the three fields defined in the javax.accessibility.AccessibleAction interface
> However, the following code displays the values in those fields:
> ----------------------------------------------------------------------------------------
> public class AccessibleActionTest {
>     public static void main(String[] args) {
>         System.out.println(AccessibleAction.DECREMENT );
>         System.out.println(AccessibleAction.INCREMENT );
>         System.out.println(AccessibleAction.TOGGLE_EXPAND);
>     }
> }
> ----------------------------------------------------------------------------------------
> The output is :
> decrement
> increment
> toggle expand
> Should we go ahead and initialize the fields of the AccessibleAction interface with the values obtained from the above output ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira