Skip to content

Todo Comment (ARCH4183)

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.

double tax(Order o) {
// FIXME: tax not computed for discounted items
return o.total() * 0.18;
}
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.