Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
7bc23e9a
Commit
7bc23e9a
authored
Aug 24, 2021
by
Brian Krische
Browse files
Change position to be Double instead of Integer
parent
3d327e39
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/Position.java
View file @
7bc23e9a
...
...
@@ -42,8 +42,8 @@ public class Position {
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 class Position {
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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment