/** * Returns the single instance of this class. * * @return The single instance of information about the JCommon library. */ public static synchronized JCommonInfo getInstance() { if (singleton == null) { singleton = new JCommonInfo(); } return singleton; }
= ResourceBundle.getBundle(baseResourceClass); setName(resources.getString("project.name")); setVersion(resources.getString("project.version")); setInfo(resources.getString("project.info")); setCopyright(resources.getString("project.copyright")); setLicenceName("LGPL"); setLicenceText(Licences.getInstance().getLGPL()); setContributors(Arrays.asList( new Contributor[] { new Contributor("Anthony Boulestreau", "-"), addOptionalLibrary( new Library( "JUnit", "3.8", "IBM Public Licence", "http://www.junit.org/" setBootClass(BaseBoot.class.getName());
baseResourceClass); setName(resources.getString("project.name")); setVersion(resources.getString("project.version")); setInfo(resources.getString("project.info")); setCopyright(resources.getString("project.copyright")); setLicenceName("LGPL"); setLicenceText(Licences.getInstance().getLGPL()); setContributors(Arrays.asList( new Contributor[] { new Contributor("Anthony Boulestreau", "-"), addOptionalLibrary(new Library("JUnit", "3.8", "IBM Public Licence", "http://www.junit.org/")); setBootClass(BaseBoot.class.getName());
baseResourceClass); setName(resources.getString("project.name")); setVersion(resources.getString("project.version")); setInfo(resources.getString("project.info")); setCopyright(resources.getString("project.copyright")); setLicenceName("LGPL"); setLicenceText(Licences.getInstance().getLGPL()); setContributors(Arrays.asList( new Contributor[] { new Contributor("Anthony Boulestreau", "-"), addOptionalLibrary(new Library("JUnit", "3.8", "IBM Public Licence", "http://www.junit.org/")); setBootClass(BaseBoot.class.getName());
/** * Returns the single instance of this class. * * @return The single instance of information about the JCommon library. */ public static synchronized JCommonInfo getInstance() { if (singleton == null) { singleton = new JCommonInfo(); } return singleton; }
/** * Returns the single instance of this class. * * @return The single instance of information about the JCommon library. */ public static synchronized JCommonInfo getInstance() { if (singleton == null) { singleton = new JCommonInfo(); } return singleton; }