6935155: @since tag is missing in JTextComponent.save/restoreComposedText
Reviewed-by: alexp
This commit is contained in:
parent
f771851eb2
commit
777ccc075e
@ -4822,6 +4822,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
|
||||
* @return {@code true} if the composed text exists and is saved,
|
||||
* {@code false} otherwise
|
||||
* @see #restoreComposedText
|
||||
* @since 1.7
|
||||
*/
|
||||
protected boolean saveComposedText(int pos) {
|
||||
if (composedTextExists()) {
|
||||
@ -4845,6 +4846,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
|
||||
* should be invoked only if {@code saveComposedText} returns {@code true}.
|
||||
*
|
||||
* @see #saveComposedText
|
||||
* @since 1.7
|
||||
*/
|
||||
protected void restoreComposedText() {
|
||||
Document doc = getDocument();
|
||||
|
Loading…
Reference in New Issue
Block a user