I have come across some code, where the developer is constantly checking if the singleton is null twice with a nested if - like in the code below:
private st
This does not make any sence unless the singleton is a property which creates the instance in the getter, but even then this would not make sense then the rest of the code would be unreachable.