diff --git a/src/main/java/edu/kit/kastel/sdq/artemis4j/grading/penalty/Points.java b/src/main/java/edu/kit/kastel/sdq/artemis4j/grading/penalty/Points.java index c55e8be..f224cfc 100644 --- a/src/main/java/edu/kit/kastel/sdq/artemis4j/grading/penalty/Points.java +++ b/src/main/java/edu/kit/kastel/sdq/artemis4j/grading/penalty/Points.java @@ -1,10 +1,4 @@ /* Licensed under EPL-2.0 2024. */ package edu.kit.kastel.sdq.artemis4j.grading.penalty; -public record Points(double score, boolean capped) { - public Points { - if (score == -0.0) { - score = 0.0; - } - } -} +public record Points(double score, boolean capped) {}