Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
public class ConstructorStandings {
private int position;
private String positionText;
private int points;
private double points;
private int wins;
private Constructor constructor;

public ConstructorStandings(int position, String positionText, int points, int wins, Constructor constructor) {
public ConstructorStandings(int position, String positionText, double points, int wins, Constructor constructor) {
this.position = position;
this.positionText = positionText;
this.points = points;
Expand All @@ -28,7 +28,7 @@ public String getPositionText() {
return positionText;
}

public int getPoints() {
public double getPoints() {
return points;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
public class DriverStandings {
private int position;
private String positionText;
private int points;
private double points;
private int wins;
private Driver driver;
private List<Constructor> constructors;

public DriverStandings(int position, String positionText, int points, int wins, Driver driver, List<Constructor> constructors) {
public DriverStandings(int position, String positionText, double points, int wins, Driver driver, List<Constructor> constructors) {
this.position = position;
this.positionText = positionText;
this.points = points;
Expand All @@ -32,7 +32,7 @@ public String getPositionText() {
return positionText;
}

public int getPoints() {
public double getPoints() {
return points;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class RaceResult {
private int number;
private int position;
private String positionText;
private int points;
private double points;
private Driver driver;
private Constructor constructor;

Expand All @@ -20,7 +20,7 @@ public class RaceResult {
private FastestLap fastestLap;

public RaceResult(int number, int position, String positionText,
int points, Driver driver, Constructor constructor,
double points, Driver driver, Constructor constructor,
int grid, int laps, String status, Time time, FastestLap fastestLap) {
this.number = number;
this.position = position;
Expand All @@ -47,7 +47,7 @@ public String getPositionText() {
return positionText;
}

public int getPoints() {
public double getPoints() {
return points;
}

Expand Down