scream3r/java-simple-serial-connector — pull request #55 by maggu2810 (2014-10-16 20:06:56+00:00)
Title: use initialization-on-demand holder idiom

This gives us a highly efficient thread-safe "singleton" cache, without synchronization overhead...
(lecture: https://en.wikipedia.org/wiki/Initialization-on-demand_holder_idiom)

The access modifier for the constructor was changed to private as this is normal for a singleton class.