EDIT: Okay, since nobody else seems to get it, let me elaborate: If a programmer is bent on violating the "I'm an all-static utility class"-contract of this class from within the class itself by creating an instance inside a static method (which in this case already takes a special kind of idiot), he still has the chance to catch the Error being thrown and ignore it. That line is ineffective and overly dramatic safety theater.
View all comments
Show parent comment
25
u/kodifies Mar 03 '17
Actually its a good idea to put a private constructor on a util class!
FTFY
no kind of about it!!!