Removed import Siba class in sibaCLI
This commit is contained in:
parent
d105337acd
commit
3db3897512
@ -23,9 +23,10 @@ import java.io.File;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.dclermonte.siba.Siba;
|
||||
import org.dclermonte.siba.SibaException;
|
||||
import org.dclermonte.siba.model.SibaManager;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* This class CLI is for use from Command Line Interface.
|
||||
@ -35,6 +36,7 @@ import org.dclermonte.siba.model.SibaManager;
|
||||
public class SibaCLI
|
||||
|
||||
{
|
||||
public static final Logger logger = LoggerFactory.getLogger(SibaCLI.class);
|
||||
private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("org.dclermonte.siba.cli.messages"); //$NON-NLS-1$
|
||||
|
||||
public static void backup(final File directoryToSave) throws SibaException
|
||||
@ -185,7 +187,7 @@ public class SibaCLI
|
||||
sibaException.printStackTrace();
|
||||
if (!(sibaException.getCause() == null))
|
||||
{
|
||||
Siba.logger.info("SibaException chainée = " + sibaException.getCause().getMessage());
|
||||
logger.info("SibaException chainée = " + sibaException.getCause().getMessage());
|
||||
}
|
||||
help();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user