From 7bc23e9ae997cd62ecbc5a3a05d9a11b67187506 Mon Sep 17 00:00:00 2001 From: Brian Krische <1189328+krische@users.noreply.github.com> Date: Tue, 24 Aug 2021 15:46:14 -0500 Subject: [PATCH] Change position to be Double instead of Integer --- .../java/org/gitlab4j/api/models/Position.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/gitlab4j/api/models/Position.java b/src/main/java/org/gitlab4j/api/models/Position.java index fe7e90ea0..78c5b3908 100644 --- a/src/main/java/org/gitlab4j/api/models/Position.java +++ b/src/main/java/org/gitlab4j/api/models/Position.java @@ -42,8 +42,8 @@ public String toString() { private Integer width; private Integer height; - private Integer x; - private Integer y; + private Double x; + private Double y; public String getBaseSha() { return baseSha; @@ -175,28 +175,28 @@ public Position withHeight(Integer height) { return (this); } - public Integer getX() { + public Double getX() { return x; } - public void setX(Integer x) { + public void setX(Double x) { this.x = x; } - public Position withX(Integer x) { + public Position withX(Double x) { this.x = x; return (this); } - public Integer getY() { + public Double getY() { return y; } - public void setY(Integer y) { + public void setY(Double y) { this.y = y; } - public Position withY(Integer y) { + public Position withY(Double y) { this.y = y; return (this); }