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 Siba()
{
}
public static void main(final String[] args)
{
// Configure log.

View File

@ -38,6 +38,11 @@ public class SibaCLI
private static Logger logger = LoggerFactory.getLogger(SibaCLI.class);
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
{
File result;

View File

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

View File

@ -32,6 +32,10 @@ import javax.swing.UIManager;
*/
public class GUIToolBox
{
private GUIToolBox()
{
}
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 SibaManager()
{
}
/**
* This method perform the backup.
*

View File

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