#1001 fix intermittent test failure (#1008)

This commit is contained in:
Michele Giacobazzi 2019-10-15 18:37:35 +02:00 committed by Ilkka Seppälä
parent c438ec0557
commit 27c131c2cb

View File

@ -28,14 +28,14 @@ package com.iluwatar.spatialpartition;
*/ */
public class Rect { public class Rect {
int x; double x;
int y; double y;
int width; double width;
int height; double height;
//(x,y) - centre of rectangle //(x,y) - centre of rectangle
Rect(int x, int y, int width, int height) { Rect(double x, double y, double width, double height) {
this.x = x; this.x = x;
this.y = y; this.y = y;
this.width = width; this.width = width;