Hide Utility Class Constructor

This commit is contained in:
Didier Clermonté 2016-08-14 12:29:54 +02:00
parent 43f4afb004
commit 462e7a74f8
6 changed files with 25 additions and 1 deletions

View File

@ -37,6 +37,11 @@ public class Siba
{ {
private static Logger logger = LoggerFactory.getLogger(Siba.class); private static Logger logger = LoggerFactory.getLogger(Siba.class);
private Siba()
{
}
public static void main(final String[] args) public static void main(final String[] args)
{ {
// Configure log. // Configure log.

View File

@ -38,6 +38,11 @@ public class SibaCLI
private static Logger logger = LoggerFactory.getLogger(SibaCLI.class); private static Logger logger = LoggerFactory.getLogger(SibaCLI.class);
private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("org.dclermonte.siba.cli.messages"); //$NON-NLS-1$ private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("org.dclermonte.siba.cli.messages"); //$NON-NLS-1$
private SibaCLI()
{
}
public static void backup(final File directoryToSave) throws SibaException public static void backup(final File directoryToSave) throws SibaException
{ {
File result; File result;

View File

@ -82,7 +82,7 @@ public class SibaGUI
* @throws InstantiationException * @throws InstantiationException
* @throws ClassNotFoundException * @throws ClassNotFoundException
*/ */
public SibaGUI() throws ClassNotFoundException, InstantiationException, IllegalAccessException, private SibaGUI() throws ClassNotFoundException, InstantiationException, IllegalAccessException,
UnsupportedLookAndFeelException, SibaException UnsupportedLookAndFeelException, SibaException
{ {
final Locale locale; final Locale locale;

View File

@ -32,6 +32,10 @@ import javax.swing.UIManager;
*/ */
public class GUIToolBox public class GUIToolBox
{ {
private GUIToolBox()
{
}
public static List<String> availableLookAndFeels() public static List<String> availableLookAndFeels()
{ {

View File

@ -44,6 +44,11 @@ public class SibaManager
{ {
private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("org.dclermonte.siba.model.messages"); //$NON-NLS-1$ private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("org.dclermonte.siba.model.messages"); //$NON-NLS-1$
private SibaManager()
{
}
/** /**
* This method perform the backup. * This method perform the backup.
* *

View File

@ -40,6 +40,11 @@ import org.apache.commons.io.IOUtils;
*/ */
public class SibaUtils public class SibaUtils
{ {
private SibaUtils()
{
}
/** /**
* *
* This method Generate the file with MD5. * This method Generate the file with MD5.