From 6d1ef124e184533f66efc0afae8975681f517543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=8A?= =?UTF-8?q?=D1=80=20=D0=9A=D1=83=D1=80=D1=82=D0=B0=D0=BA=D0=BE=D0=B2?= Date: Fri, 3 Oct 2025 13:13:12 +0300 Subject: [PATCH] Fix javadoc warnings in ISharedImages Stop pointing to deprecated Cursor constructors in https://github.com/eclipse-platform/eclipse.platform.swt/pull/2563 --- .../eclipseui/org/eclipse/ui/ISharedImages.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/ISharedImages.java b/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/ISharedImages.java index fce09e563a2..b80c2e4163c 100644 --- a/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/ISharedImages.java +++ b/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/ISharedImages.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2024 IBM Corporation and others. + * Copyright (c) 2000, 2025 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -18,6 +18,7 @@ import org.eclipse.swt.graphics.Device; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.ImageData; +import org.eclipse.swt.graphics.ImageDataProvider; import org.eclipse.ui.internal.WorkbenchPlugin; /** @@ -772,7 +773,7 @@ public interface ISharedImages { /** * Identifies the lef arrow cursor. For cursor construction see: * - * @see Cursor#Cursor(Device, ImageData, ImageData, int, int) + * @see Cursor#Cursor(Device, ImageDataProvider, int, int) * @since 3.133 */ String IMG_OBJS_DND_LEFT = "IMG_OBJS_DND_LEFT"; //$NON-NLS-1$ @@ -780,7 +781,7 @@ public interface ISharedImages { /** * Identifies the right arrow cursor. For cursor construction see: * - * @see Cursor#Cursor(Device, ImageData, ImageData, int, int) + * @see Cursor#Cursor(Device, ImageDataProvider, int, int) * @since 3.133 */ String IMG_OBJS_DND_RIGHT = "IMG_OBJS_DND_RIGHT"; //$NON-NLS-1$ @@ -804,7 +805,7 @@ public interface ISharedImages { /** * Identifies the 'no drop' arrow cursor. For cursor construction see: * - * @see Cursor#Cursor(Device, ImageData, ImageData, int, int) + * @see Cursor#Cursor(Device, ImageDataProvider, int, int) * @since 3.133 */ String IMG_OBJS_DND_INVALID = "IMG_OBJS_DND_INVALID"; //$NON-NLS-1$