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

Typo in KeyEvent.java

    XMLWordPrintable

Details

    • beta
    • generic
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: