aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2010-11-08 11:34:07 (EST)
committerDani Megert2011-10-06 09:01:14 (EDT)
commit23772bf309e97975c632e27fb3fe96836ae3964d (patch)
tree78876c0fcff14836023003c553756359b5df6940
parent79846d62a0885cbc09597fcaba3b3b4e67a35d7d (diff)
downloadeclipse.platform.ui-23772bf309e97975c632e27fb3fe96836ae3964d.zip
eclipse.platform.ui-23772bf309e97975c632e27fb3fe96836ae3964d.tar.gz
eclipse.platform.ui-23772bf309e97975c632e27fb3fe96836ae3964d.tar.bz2
- Javadoc
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/keys/SWTKeySupport.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/keys/SWTKeySupport.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/keys/SWTKeySupport.java
index 28d3f6c..fe40a52 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/keys/SWTKeySupport.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/keys/SWTKeySupport.java
@@ -14,7 +14,6 @@ package org.eclipse.ui.keys;
import java.util.Iterator;
import java.util.SortedSet;
import java.util.TreeSet;
-
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.widgets.Event;
@@ -23,7 +22,7 @@ import org.eclipse.ui.internal.keys.NativeKeyFormatter;
/**
* A utility class for converting SWT events into key strokes.
*
- * @deprecated Please use org.eclipse.jface.bindings.keys.SWTKeySupport
+ * @deprecated Please use {@link org.eclipse.jface.bindings.keys.SWTKeySupport}
* @since 3.0
*/
public final class SWTKeySupport {
@@ -38,7 +37,7 @@ public final class SWTKeySupport {
*/
public static KeyStroke convertAcceleratorToKeyStroke(int accelerator) {
final SortedSet modifierKeys = new TreeSet();
- NaturalKey naturalKey = null;
+ NaturalKey naturalKey;
if ((accelerator & SWT.ALT) != 0) {
modifierKeys.add(ModifierKey.ALT);