Issue#38 moved declaration gzipoutputStream inside try statement
This commit is contained in:
parent
576265568b
commit
ccc9dcf763
@ -86,9 +86,6 @@ public class SibaGUI
|
||||
// Set default GUI catch.
|
||||
Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler()
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Override
|
||||
public void uncaughtException(final Thread thread, final Throwable exception)
|
||||
{
|
||||
|
@ -75,10 +75,9 @@ public class SibaManager
|
||||
File result;
|
||||
|
||||
TarArchiveOutputStream out = null;
|
||||
OutputStream gzipOutputStream = null;
|
||||
try
|
||||
{
|
||||
|
||||
OutputStream gzipOutputStream = null;
|
||||
if ((fileToSave == null) || !fileToSave.exists())
|
||||
{
|
||||
throw new SibaException(BUNDLE.getString("sourceNotExist.text"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user