--- old/src/java.desktop/share/classes/javax/swing/text/AbstractDocument.java 2015-04-06 22:10:07.081237516 -0700 +++ new/src/java.desktop/share/classes/javax/swing/text/AbstractDocument.java 2015-04-06 22:10:06.929237512 -0700 @@ -308,9 +308,8 @@ * * If no such listeners exist, this method returns an empty array. * - * @param listenerType the type of listeners requested; this parameter - * should specify an interface that descends from - * java.util.EventListener + * @param the listener type + * @param listenerType the type of listeners requested * @return an array of all objects registered as * FooListeners on this component, * or an empty array if no such @@ -905,6 +904,8 @@ * Returns the root element of the bidirectional structure for this * document. Its children represent character runs with a given * Unicode bidi level. + * @return the root element of the bidirectional structure for this + * document */ public Element getBidiRootElement() { return bidiRoot;