diff --git a/org.eclipse.xtext.ui.codetemplates.ui/src/org/eclipse/xtext/ui/codetemplates/ui/preferences/AdvancedTemplatesPreferencePage.java b/org.eclipse.xtext.ui.codetemplates.ui/src/org/eclipse/xtext/ui/codetemplates/ui/preferences/AdvancedTemplatesPreferencePage.java index 3143c960942..e5f6f6716fc 100644 --- a/org.eclipse.xtext.ui.codetemplates.ui/src/org/eclipse/xtext/ui/codetemplates/ui/preferences/AdvancedTemplatesPreferencePage.java +++ b/org.eclipse.xtext.ui.codetemplates.ui/src/org/eclipse/xtext/ui/codetemplates/ui/preferences/AdvancedTemplatesPreferencePage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010, 2017 itemis AG (http://www.itemis.eu) and others. + * Copyright (c) 2010, 2025 itemis AG (http://www.itemis.eu) 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 * http://www.eclipse.org/legal/epl-2.0. @@ -16,7 +16,6 @@ import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.window.Window; import org.eclipse.swt.widgets.Composite; -import org.eclipse.text.templates.ContextTypeRegistry; import org.eclipse.text.templates.TemplatePersistenceData; import org.eclipse.xtext.IGrammarAccess; import org.eclipse.xtext.ui.editor.embedded.EmbeddedEditor; diff --git a/org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/hover/html/XtextBrowserInformationControlAdapter.java b/org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/hover/html/XtextBrowserInformationControlAdapter.java index 49abb71385f..0d1addd4744 100644 --- a/org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/hover/html/XtextBrowserInformationControlAdapter.java +++ b/org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/hover/html/XtextBrowserInformationControlAdapter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2012, 2024 itemis AG (http://www.itemis.eu) and others. + * Copyright (c) 2012, 2025 itemis AG (http://www.itemis.eu) 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 * http://www.eclipse.org/legal/epl-2.0. @@ -9,7 +9,6 @@ package org.eclipse.xtext.ui.editor.hover.html; -import org.apache.log4j.Logger; import org.eclipse.jface.internal.text.html.BrowserInformationControl; import org.eclipse.jface.internal.text.html.BrowserInformationControlInput; import org.eclipse.jface.text.IInputChangedListener; @@ -27,8 +26,6 @@ */ public class XtextBrowserInformationControlAdapter implements IXtextBrowserInformationControl { - private static final Logger LOG = Logger.getLogger(XtextBrowserInformationControlAdapter.class); - private final BrowserInformationControl control; XtextBrowserInformationControlAdapter(BrowserInformationControl control) { diff --git a/org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/templates/XtextTemplateContextTypeRegistry.java b/org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/templates/XtextTemplateContextTypeRegistry.java index b5b9130ac9c..53967b42aac 100644 --- a/org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/templates/XtextTemplateContextTypeRegistry.java +++ b/org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/templates/XtextTemplateContextTypeRegistry.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2017 itemis AG (http://www.itemis.eu) and others. + * Copyright (c) 2008, 2025 itemis AG (http://www.itemis.eu) 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 * http://www.eclipse.org/legal/epl-2.0. @@ -12,7 +12,6 @@ import java.util.Collections; import java.util.List; -import org.eclipse.text.templates.ContextTypeRegistry; import org.eclipse.xtext.EcoreUtil2; import org.eclipse.xtext.EnumRule; import org.eclipse.xtext.GrammarUtil;