Skip to content

Commit ca298d6

Browse files
committed
1 parent 24c36fe commit ca298d6

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

bundles/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/html/HTMLPrinter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private static void cacheColors(Display display) {
8989
* @return the string with escaped characters
9090
*
9191
* @see #convertToHTMLContentWithWhitespace(String) for use in browsers
92-
* @see #addPreFormatted(StringBuilder, String) for rendering with an {@link HTML2TextReader}
92+
* @see #addPreFormatted(StringBuilder, String) for rendering with an HTML2TextReader
9393
*/
9494
public static String convertToHTMLContent(String content) {
9595
return HTMLBuilder.convertToHTMLContent(content);

bundles/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/templates/ContributionTemplateStore.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2000, 2008 IBM Corporation and others.
2+
* Copyright (c) 2000, 2024 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -102,8 +102,6 @@ public ContributionTemplateStore(ContextTypeRegistry registry, IPreferenceStore
102102

103103
/**
104104
* Loads the templates contributed via the templates extension point.
105-
*
106-
* @throws IOException {@inheritDoc}
107105
*/
108106
@Override
109107
protected void loadContributedTemplates() throws IOException {

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/handlers/ContextMenuHandler.java

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2013, 2014 IBM Corporation and others.
2+
* Copyright (c) 2013, 2024 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -15,7 +15,6 @@
1515

1616
import org.eclipse.core.commands.AbstractHandler;
1717
import org.eclipse.core.commands.ExecutionEvent;
18-
import org.eclipse.core.commands.ExecutionException;
1918
import org.eclipse.jface.util.Geometry;
2019
import org.eclipse.swt.SWT;
2120
import org.eclipse.swt.graphics.Point;
@@ -27,11 +26,8 @@
2726
import org.eclipse.ui.handlers.HandlerUtil;
2827

2928
public class ContextMenuHandler extends AbstractHandler {
30-
/**
31-
* @throws ExecutionException {@inheritDoc}
32-
*/
3329
@Override
34-
public Object execute(ExecutionEvent exEvent) throws ExecutionException {
30+
public Object execute(ExecutionEvent exEvent) {
3531
Shell shell = HandlerUtil.getActiveShell(exEvent);
3632
Display display = shell == null ? Display.getCurrent() : shell.getDisplay();
3733
Control focusControl = display.getFocusControl();

0 commit comments

Comments
 (0)