From 242c75934b8697e55bacaf9591e0258274b37802 Mon Sep 17 00:00:00 2001 From: fedejeanne Date: Mon, 5 May 2025 15:17:04 +0200 Subject: [PATCH] Remove unused Font constructor --- .../Eclipse SWT/win32/org/eclipse/swt/graphics/Font.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Font.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Font.java index fc7014ec99c..95b51c0c69a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Font.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Font.java @@ -62,15 +62,6 @@ public final class Font extends Resource { */ private final float fontHeight; -/** - * Prevents uninitialized instances from being created outside the package. - */ -Font(Device device) { - super(device); - this.zoom = DPIUtil.getNativeDeviceZoom(); - this.fontHeight = 0; -} - private Font(Device device, long handle, int zoom) { super(device); this.handle = handle;