Skip to content

Commit

Permalink
Fix javadoc errors/warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
akurtakov committed Dec 20, 2024
1 parent 24c36fe commit ca298d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
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

0 comments on commit ca298d6

Please sign in to comment.