author | yan |
Tue, 08 Oct 2013 13:57:44 +0400 | |
changeset 20459 | 6f21caea5ba3 |
parent 20458 | f2423fb3fd19 |
child 20460 | a60499e6e190 |
--- a/jdk/src/share/classes/java/awt/event/InputEvent.java Mon Oct 07 11:34:44 2013 -0700 +++ b/jdk/src/share/classes/java/awt/event/InputEvent.java Tue Oct 08 13:57:44 2013 +0400 @@ -445,7 +445,7 @@ * <PRE> * int onmask = SHIFT_DOWN_MASK | BUTTON1_DOWN_MASK; * int offmask = CTRL_DOWN_MASK; - * if ((event.getModifiersEx() & (onmask | offmask)) == onmask) { + * if ((event.getModifiersEx() & (onmask | offmask)) == onmask) { * ... * } * </PRE>
--- a/jdk/src/share/classes/java/awt/event/MouseEvent.java Mon Oct 07 11:34:44 2013 -0700 +++ b/jdk/src/share/classes/java/awt/event/MouseEvent.java Tue Oct 08 13:57:44 2013 +0400 @@ -146,12 +146,12 @@ * {@link InputEvent#getMaskForButton(int) getMaskForButton(button)} method may be used * as button masks. * <p> - * <code>MOUSE_DRAGGED</code> events are delivered to the <code>Component</code> + * {@code MOUSE_DRAGGED} events are delivered to the {@code Component} * in which the mouse button was pressed until the mouse button is released * (regardless of whether the mouse position is within the bounds of the - * <code>Component</code>). Due to platform-dependent Drag&Drop implementations, - * <code>MOUSE_DRAGGED</code> events may not be delivered during a native - * Drag&Drop operation. + * {@code Component}). Due to platform-dependent Drag&Drop implementations, + * {@code MOUSE_DRAGGED} events may not be delivered during a native + * Drag&Drop operation. * * In a multi-screen environment mouse drag events are delivered to the * <code>Component</code> even if the mouse position is outside the bounds of the @@ -327,7 +327,7 @@ * For all other events the count will be 0. * * @serial - * @see #getClickCount(). + * @see #getClickCount() */ int clickCount; @@ -403,7 +403,7 @@ /** * Initialize JNI field and method IDs for fields that may be - accessed from C. + * accessed from C. */ private static native void initIDs();
--- a/jdk/src/share/classes/java/awt/im/InputContext.java Mon Oct 07 11:34:44 2013 -0700 +++ b/jdk/src/share/classes/java/awt/im/InputContext.java Tue Oct 08 13:57:44 2013 +0400 @@ -118,7 +118,6 @@ * Otherwise, an input method or keyboard layout that supports the requested * locale is selected in an implementation dependent way.</li> * - * <p> * </ul> * Before switching away from an input method, any currently uncommitted text * is committed. If no input method or keyboard layout supporting the requested
--- a/jdk/src/share/classes/java/awt/im/InputMethodHighlight.java Mon Oct 07 11:34:44 2013 -0700 +++ b/jdk/src/share/classes/java/awt/im/InputMethodHighlight.java Tue Oct 08 13:57:44 2013 +0400 @@ -51,8 +51,8 @@ * mappings from abstract to concrete styles. Currently defined state values * are raw (unconverted) and converted. * These state values are recommended for use before and after the -* main conversion step of text composition, say, before and after kana->kanji -* or pinyin->hanzi conversion. +* main conversion step of text composition, say, before and after kana->kanji +* or pinyin->hanzi conversion. * The <code>variation</code> field allows input methods to express additional * information about the conversion results. * <p>