Todo Comment (ARCH4183)
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Key java.quality.todo-comment · Severity info · Category quality
TODO/FIXME/HACK/XXX markers document unfinished work and are easily forgotten once they ship. Resolve them before merge or link them to a tracker.
Incorrect
Section titled “Incorrect”double tax(Order o) { // FIXME: tax not computed for discounted items return o.total() * 0.18;}Correct
Section titled “Correct”double tax(Order o) { double taxable = o.total() - o.discountedAmount(); return taxable * 0.18;}Finish the flagged work, or tie it to a tracked issue and remove it from code.