Opened 6 years ago

Last modified 6 years ago

#17440 closed enhancement

Confuisng code — at Initial Version

Reported by: GerdP Owned by: team
Priority: normal Milestone: 19.03
Component: Core Version:
Keywords: Cc:

Description

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?

Change History (0)

Note: See TracTickets for help on using tickets.