Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private static void cacheColors(Display display) {
* @return the string with escaped characters
*
* @see #convertToHTMLContentWithWhitespace(String) for use in browsers
* @see #addPreFormatted(StringBuilder, String) for rendering with an {@link HTML2TextReader}
* @see #addPreFormatted(StringBuilder, String) for rendering with an HTML2TextReader
*/
public static String convertToHTMLContent(String content) {
return HTMLBuilder.convertToHTMLContent(content);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* Copyright (c) 2000, 2024 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
Expand Down Expand Up @@ -102,8 +102,6 @@ public ContributionTemplateStore(ContextTypeRegistry registry, IPreferenceStore

/**
* Loads the templates contributed via the templates extension point.
*
* @throws IOException {@inheritDoc}
*/
@Override
protected void loadContributedTemplates() throws IOException {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2013, 2014 IBM Corporation and others.
* Copyright (c) 2013, 2024 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
Expand All @@ -15,7 +15,6 @@

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.jface.util.Geometry;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Point;
Expand All @@ -27,11 +26,8 @@
import org.eclipse.ui.handlers.HandlerUtil;

public class ContextMenuHandler extends AbstractHandler {
/**
* @throws ExecutionException {@inheritDoc}
*/
@Override
public Object execute(ExecutionEvent exEvent) throws ExecutionException {
public Object execute(ExecutionEvent exEvent) {
Shell shell = HandlerUtil.getActiveShell(exEvent);
Display display = shell == null ? Display.getCurrent() : shell.getDisplay();
Control focusControl = display.getFocusControl();
Expand Down
Loading