Skip to content

Commit a56c6b6

Browse files
committed
Document macOS URLTransfer uses out of date transfer type name
Part of #2126
1 parent b942c4c commit a56c6b6

File tree

1 file changed

+2
-0
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd

1 file changed

+2
-0
lines changed

bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/URLTransfer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
public class URLTransfer extends ByteArrayTransfer {
3434

3535
static URLTransfer _instance = new URLTransfer();
36+
// XXX: SWT uses the deprecated format name here,
37+
// the new name is "public.url" aka NSPasteboardTypeURL
3638
static final String URL = OS.NSURLPboardType.getString();
3739
static final String URL1 = OS.kUTTypeURL.getString();
3840
static final int URL_ID = registerType(URL);

0 commit comments

Comments
 (0)