Silly assignments

I was just using idea and noticed that there was some grey code.
Hovering my cursor over the assignment a tooltip popped up:

Silly assignment

I was assigning the variable to itself.

Thanks JetBrains for the best laugh I've had today.


Glen Stampoultzis

Please sign in to leave a comment.