/** * Returns the single instance of this class. * * @return The single instance of information about the JCommon library. */ public static synchronized JCommonXMLInfo getInstance() { if (singleton == null) { singleton = new JCommonXMLInfo(); } return singleton; }