Opened 7 years ago
Last modified 7 years ago
#17440 closed enhancement
Confuisng code — at Version 1
| Reported by: | GerdP | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 19.03 |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description (last modified by )
I see quite a few methods with a construct like this in AbstractPrimitive:
@Override public long getId() { long id = this.id; return id >= 0 ? id : 0; }
Why isn't field id used directly?
Note:
See TracTickets
for help on using tickets.



Added in r3348. Not sure if it's really needed.