Skip to content

Commit

Permalink
apply spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Luro02 committed Oct 28, 2024
1 parent 59d4a80 commit f7487b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,14 @@ public int hashCode() {

@Override
public String toString() {
return "MistakeType{" +
"id='" + id + '\'' +
", rule=" + rule +
", ratingGroup=" + ratingGroup +
", message=" + message.getDefaultTranslationPattern() +
", buttonTexts=" + buttonTexts.getDefaultTranslationPattern() +
", reporting=" + reporting +
", autograderProblemTypes=" + autograderProblemTypes +
'}';
return "MistakeType{" + "id='"
+ id + '\'' + ", rule="
+ rule + ", ratingGroup="
+ ratingGroup + ", message="
+ message.getDefaultTranslationPattern() + ", buttonTexts="
+ buttonTexts.getDefaultTranslationPattern() + ", reporting="
+ reporting + ", autograderProblemTypes="
+ autograderProblemTypes + '}';
}

record MistakeTypeDTO(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ public int hashCode() {

@Override
public String toString() {
return "RatingGroup[" + "id=" + id + ", " + "displayName=" + displayName.getDefaultTranslationPattern() + ", " + "minPenalty=" + minPenalty
+ ", " + "getMaxPenalty=" + maxPenalty + ", " + "mistakeTypes=" + mistakeTypes + ']';
return "RatingGroup[" + "id=" + id + ", " + "displayName=" + displayName.getDefaultTranslationPattern() + ", "
+ "minPenalty=" + minPenalty + ", " + "getMaxPenalty=" + maxPenalty + ", " + "mistakeTypes="
+ mistakeTypes + ']';
}

record RatingGroupDTO(
Expand Down

0 comments on commit f7487b7

Please sign in to comment.