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); }