Skip to content

Commit 13934ee

Browse files
ShahzaibIbrahimfedejeanne
authored andcommitted
Removing Cursor#win32_new method
Remove Cursor#win32_new method similar to other other resources e.g. Image, Region, Path etc. Also there is no calling to this method.
1 parent c0dbf00 commit 13934ee

File tree

1 file changed

+0
-22
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics

1 file changed

+0
-22
lines changed

bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Cursor.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -563,26 +563,4 @@ void destroyHandlesExcept(Set<Integer> zoomLevels) {
563563
});
564564
}
565565

566-
/**
567-
* Invokes platform specific functionality to allocate a new cursor.
568-
* <p>
569-
* <b>IMPORTANT:</b> This method is <em>not</em> part of the public
570-
* API for <code>Cursor</code>. It is marked public only so that it
571-
* can be shared within the packages provided by SWT. It is not
572-
* available on all platforms, and should never be called from
573-
* application code.
574-
* </p>
575-
*
576-
* @param device the device on which to allocate the color
577-
* @param handle the handle for the cursor
578-
* @return a new cursor object containing the specified device and handle
579-
*
580-
* @noreference This method is not intended to be referenced by clients.
581-
*/
582-
public static Cursor win32_new(Device device, int handle) {
583-
Cursor cursor = new Cursor(device);
584-
cursor.handle = handle;
585-
return cursor;
586-
}
587-
588566
}

0 commit comments

Comments
 (0)