79276563

Date: 2024-12-12 20:56:33
Score: 1
Natty:
Report link

For documenting such simple getter-style methods you may write:

/** {@return foo} */
public Foo getFoo() {
  return foo;
}

Note the curly braces in {@return ...} compared to your example.

See also https://stackoverflow.com/a/66220601/1431016 and https://bugs.openjdk.java.net/browse/JDK-8075778

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Sormuras