fixed rounding error in coords
This commit is contained in:
@@ -87,7 +87,7 @@ public class JodelPost {
|
|||||||
this.title = rs.getString("title");
|
this.title = rs.getString("title");
|
||||||
this.content = rs.getString("content");
|
this.content = rs.getString("content");
|
||||||
this.date = rs.getTimestamp("postdate");
|
this.date = rs.getTimestamp("postdate");
|
||||||
this.location = new Location(rs.getLong("longitude"), rs.getLong("latitude"));
|
this.location = new Location(rs.getFloat("longitude"), rs.getFloat("latitude"));
|
||||||
this.reactions = new Reactions(rs.getLong("positive"), rs.getLong("negative"));
|
this.reactions = new Reactions(rs.getLong("positive"), rs.getLong("negative"));
|
||||||
this.parent = Optional.of(rs.getLong("parent"));
|
this.parent = Optional.of(rs.getLong("parent"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user