I'm working with a quite old codebase, so much of deprecated or outdated code exists. Most of it is simple pre-boxing.
But this one raised a question with me:
private java.lang.Long version = Long.valueOf(-1L);
Does the -1L
not define the value as a Long already? Was this even possible before?
Note it's not -1l
but -1L
.
I would understand if it was written as -1
or even -1l
. Can someone explain to me what is going on?