diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/URLTransfer.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/URLTransfer.java | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/URLTransfer.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/URLTransfer.java index 97bade5cb1..abaf2bf2e8 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/URLTransfer.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/URLTransfer.java @@ -91,20 +91,12 @@ public Object nativeToJava(TransferData transferData){ @Override protected int[] getTypeIds(){ - if (OS.VERSION >= 0x1060) { - return new int[] {URL_ID, URL_ID1}; - } else { - return new int[] {URL_ID}; - } + return new int[] {URL_ID, URL_ID1}; } @Override protected String[] getTypeNames(){ - if (OS.VERSION >= 0x1060) { - return new String[] {URL, URL1}; - } else { - return new String[] {URL}; - } + return new String[] {URL, URL1}; } boolean checkURL(Object object) { |