diff --git a/org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/html/autoinsert/HTMLAutoInsertReconciler.java b/org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/html/autoinsert/HTMLAutoInsertReconciler.java index 4c7120e9c3..7779c58dd6 100644 --- a/org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/html/autoinsert/HTMLAutoInsertReconciler.java +++ b/org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/html/autoinsert/HTMLAutoInsertReconciler.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2022, 2023 Red Hat Inc. and others. + * Copyright (c) 2022, 2024 Red Hat Inc. and others. * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -144,24 +144,15 @@ private boolean isAutoCreateQuotesEnabled() { */ class Listener implements IDocumentListener, ITextInputListener { - /* - * @see IDocumentListener#documentAboutToBeChanged(DocumentEvent) - */ @Override public void documentAboutToBeChanged(DocumentEvent e) { } - /* - * @see IDocumentListener#documentChanged(DocumentEvent) - */ @Override public void documentChanged(DocumentEvent e) { autoInsert(e); } - /* - * @see ITextInputListener#inputDocumentAboutToBeChanged(IDocument, IDocument) - */ @Override public void inputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput) { if (oldInput == document) { @@ -172,9 +163,6 @@ public void inputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput } } - /* - * @see ITextInputListener#inputDocumentChanged(IDocument, IDocument) - */ @Override public void inputDocumentChanged(IDocument oldInput, IDocument newInput) { document = newInput; diff --git a/org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/vue/autoinsert/VueAutoInsertReconciler.java b/org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/vue/autoinsert/VueAutoInsertReconciler.java index 289510462a..19e93e1980 100644 --- a/org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/vue/autoinsert/VueAutoInsertReconciler.java +++ b/org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/vue/autoinsert/VueAutoInsertReconciler.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2022, 2023 Red Hat Inc. and others. + * Copyright (c) 2022, 2024 Red Hat Inc. and others. * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -135,25 +135,16 @@ private void autoInsert(DocumentEvent event) { */ class Listener implements IDocumentListener, ITextInputListener { - /* - * @see IDocumentListener#documentAboutToBeChanged(DocumentEvent) - */ @Override public void documentAboutToBeChanged(DocumentEvent e) { } - /* - * @see IDocumentListener#documentChanged(DocumentEvent) - */ @Override public void documentChanged(DocumentEvent e) { System.out.println(e.toString()); autoInsert(e); } - /* - * @see ITextInputListener#inputDocumentAboutToBeChanged(IDocument, IDocument) - */ @Override public void inputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput) { if (oldInput == document) { @@ -164,9 +155,6 @@ public void inputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput } } - /* - * @see ITextInputListener#inputDocumentChanged(IDocument, IDocument) - */ @Override public void inputDocumentChanged(IDocument oldInput, IDocument newInput) { document = newInput;