diff options
author | Christophe Cornu <ccornu> | 2003-03-03 17:08:02 +0000 |
---|---|---|
committer | Christophe Cornu <ccornu> | 2003-03-03 17:08:02 +0000 |
commit | c9b810c1536ad8f7aba1954c07c88beda01f74dc (patch) | |
tree | a5d64d6dbd003dabc204caccb0a955b74c800956 /bundles | |
parent | eebaa7ec16b0ca8edd83633a437924d25a75f4af (diff) | |
download | eclipse.platform.swt-c9b810c1536ad8f7aba1954c07c88beda01f74dc.tar.gz eclipse.platform.swt-c9b810c1536ad8f7aba1954c07c88beda01f74dc.tar.xz eclipse.platform.swt-c9b810c1536ad8f7aba1954c07c88beda01f74dc.zip |
compilation error fix
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/Clipboard.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/Clipboard.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/Clipboard.java index bca52d46c7..54844eaaa3 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/Clipboard.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/Clipboard.java @@ -123,7 +123,7 @@ public Object getContents(Transfer transfer) { if (display == null) SWT.error(SWT.ERROR_WIDGET_DISPOSED); if (display.isDisposed()) SWT.error(SWT.ERROR_DEVICE_DISPOSED); if (transfer == null) SWT.error(SWT.ERROR_NULL_ARGUMENT); - if (!transfer instanceof TextTransfer) return null; + if (!(transfer instanceof TextTransfer)) return null; return display.getData("TextTransfer"); } |