Skip to content

Commit

Permalink
Change Double to double in getter and setter
Browse files Browse the repository at this point in the history
  • Loading branch information
badkeyy committed Jan 30, 2025
1 parent c1a2ad8 commit 5eba6d2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,16 @@ public void setExplanation(String explanation) {
this.explanation = explanation;
}

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

public QuizQuestion score(Double score) {
public QuizQuestion score(double score) {
this.points = score;
return this;
}

public void setPoints(Double score) {
public void setPoints(double score) {
this.points = score;
}

Expand Down

0 comments on commit 5eba6d2

Please sign in to comment.