Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4332824

Typo in KeyEvent.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      generic
    • OS:
      generic

      Description

      In the constructor for KeyEvent.java, "specifies" is misspelled as "specifys"
      in the @param when field.

          /**
           * Constructs a KeyEvent object.
           *
           * @param source the Component that originated the event
           * @param id an integer identifying the type of event
           * @param when a long integer that specifys the time the event occurred
           * @param modifiers the modifier keys down during event
           * (shift, ctrl, alt, meta)
           * @param keyCode the integer code for an actual key, or VK_UNDEFINED
           * (for a key-typed event)
           * @param keyChar the Unicode character generated by this event, or
           * CHAR_UNDEFINED (for key-pressed and key-released
           * events which do not map to a valid Unicode character)
           */

        Attachments

          Activity

            People

            Assignee:
            ehawkessunw Eric Hawkes (Inactive)
            Reporter:
            ehawkessunw Eric Hawkes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: