Skip to content

Commit de4e5aa

Browse files
authored
Merge pull request #747 from krische/switch-position-to-double
Change position to be Double instead of Integer
2 parents 0b9ac1d + 7bc23e9 commit de4e5aa

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/main/java/org/gitlab4j/api/models/Position.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ public String toString() {
4242

4343
private Integer width;
4444
private Integer height;
45-
private Integer x;
46-
private Integer y;
45+
private Double x;
46+
private Double y;
4747

4848
public String getBaseSha() {
4949
return baseSha;
@@ -175,28 +175,28 @@ public Position withHeight(Integer height) {
175175
return (this);
176176
}
177177

178-
public Integer getX() {
178+
public Double getX() {
179179
return x;
180180
}
181181

182-
public void setX(Integer x) {
182+
public void setX(Double x) {
183183
this.x = x;
184184
}
185185

186-
public Position withX(Integer x) {
186+
public Position withX(Double x) {
187187
this.x = x;
188188
return (this);
189189
}
190190

191-
public Integer getY() {
191+
public Double getY() {
192192
return y;
193193
}
194194

195-
public void setY(Integer y) {
195+
public void setY(Double y) {
196196
this.y = y;
197197
}
198198

199-
public Position withY(Integer y) {
199+
public Position withY(Double y) {
200200
this.y = y;
201201
return (this);
202202
}

0 commit comments

Comments
 (0)