From 2446e03ca39207ec492146057af0fdc8e4c11131 Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Tue, 14 Nov 2023 07:17:25 +0000 Subject: [PATCH] add missing return --- .../org/openmicroscopy/shoola/util/roi/io/InputStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/openmicroscopy/shoola/util/roi/io/InputStrategy.java b/src/main/java/org/openmicroscopy/shoola/util/roi/io/InputStrategy.java index e67e19a24..242cc6c15 100644 --- a/src/main/java/org/openmicroscopy/shoola/util/roi/io/InputStrategy.java +++ b/src/main/java/org/openmicroscopy/shoola/util/roi/io/InputStrategy.java @@ -505,7 +505,7 @@ else if (IOConstants.ATTRIBUTE_DATATYPE_RECTANGLE2D.equals(dataType) return new Ellipse2D.Double(); } if (IOConstants.ATTRIBUTE_DATATYPE_RECTANGLE2D.equals(dataType)) - new Rectangle2D.Double( + return new Rectangle2D.Double( new Double(xValue), new Double(yValue), new Double(widthValue), new Double(heightValue)); if (IOConstants.ATTRIBUTE_DATATYPE_ELLIPSE2D.equals(dataType))