Skip to content

Commit 6ed3ad8

Browse files
committed
some smaller cleanups
Signed-off-by: Christian Dietrich <christian.dietrich.opensource@gmail.com>
1 parent 073332a commit 6ed3ad8

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

org.eclipse.xtext.ui.codetemplates.ui/src/org/eclipse/xtext/ui/codetemplates/ui/preferences/AdvancedTemplatesPreferencePage.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2010, 2017 itemis AG (http://www.itemis.eu) and others.
2+
* Copyright (c) 2010, 2025 itemis AG (http://www.itemis.eu) and others.
33
* This program and the accompanying materials are made available under the
44
* terms of the Eclipse Public License 2.0 which is available at
55
* http://www.eclipse.org/legal/epl-2.0.
@@ -16,7 +16,6 @@
1616
import org.eclipse.jface.viewers.IStructuredSelection;
1717
import org.eclipse.jface.window.Window;
1818
import org.eclipse.swt.widgets.Composite;
19-
import org.eclipse.text.templates.ContextTypeRegistry;
2019
import org.eclipse.text.templates.TemplatePersistenceData;
2120
import org.eclipse.xtext.IGrammarAccess;
2221
import org.eclipse.xtext.ui.editor.embedded.EmbeddedEditor;

org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/hover/html/XtextBrowserInformationControlAdapter.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2012, 2024 itemis AG (http://www.itemis.eu) and others.
2+
* Copyright (c) 2012, 2025 itemis AG (http://www.itemis.eu) and others.
33
* This program and the accompanying materials are made available under the
44
* terms of the Eclipse Public License 2.0 which is available at
55
* http://www.eclipse.org/legal/epl-2.0.
@@ -9,7 +9,6 @@
99
package org.eclipse.xtext.ui.editor.hover.html;
1010

1111

12-
import org.apache.log4j.Logger;
1312
import org.eclipse.jface.internal.text.html.BrowserInformationControl;
1413
import org.eclipse.jface.internal.text.html.BrowserInformationControlInput;
1514
import org.eclipse.jface.text.IInputChangedListener;
@@ -27,8 +26,6 @@
2726
*/
2827
public class XtextBrowserInformationControlAdapter implements IXtextBrowserInformationControl {
2928

30-
private static final Logger LOG = Logger.getLogger(XtextBrowserInformationControlAdapter.class);
31-
3229
private final BrowserInformationControl control;
3330

3431
XtextBrowserInformationControlAdapter(BrowserInformationControl control) {

org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/templates/XtextTemplateContextTypeRegistry.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2008, 2017 itemis AG (http://www.itemis.eu) and others.
2+
* Copyright (c) 2008, 2025 itemis AG (http://www.itemis.eu) and others.
33
* This program and the accompanying materials are made available under the
44
* terms of the Eclipse Public License 2.0 which is available at
55
* http://www.eclipse.org/legal/epl-2.0.
@@ -12,7 +12,6 @@
1212
import java.util.Collections;
1313
import java.util.List;
1414

15-
import org.eclipse.text.templates.ContextTypeRegistry;
1615
import org.eclipse.xtext.EcoreUtil2;
1716
import org.eclipse.xtext.EnumRule;
1817
import org.eclipse.xtext.GrammarUtil;

0 commit comments

Comments
 (0)