diff --git a/modules/core/misc/java/src/java/core+RotatedRect.java b/modules/core/misc/java/src/java/core+RotatedRect.java index f6d1163e02..05ee3811fe 100644 --- a/modules/core/misc/java/src/java/core+RotatedRect.java +++ b/modules/core/misc/java/src/java/core+RotatedRect.java @@ -33,7 +33,7 @@ public class RotatedRect { angle = vals.length > 4 ? (double) vals[4] : 0; } else { center.x = 0; - center.x = 0; + center.y = 0; size.width = 0; size.height = 0; angle = 0;