Removing references to FileBin from Util static methods
This commit is contained in:
parent
1e6bd3b7d3
commit
cd2f765fe6
1 changed files with 4 additions and 4 deletions
|
@ -57,12 +57,12 @@ public class Util {
|
|||
out.finish();
|
||||
return output.toByteArray();
|
||||
} catch (IOException ex) {
|
||||
Logger.getLogger(FileBin.class.getName()).log(Level.SEVERE, null, ex);
|
||||
Logger.getLogger(Util.class.getName()).log(Level.SEVERE, null, ex);
|
||||
} finally {
|
||||
try {
|
||||
out.close();
|
||||
} catch (IOException ex) {
|
||||
Logger.getLogger(FileBin.class.getName()).log(Level.SEVERE, null, ex);
|
||||
Logger.getLogger(Util.class.getName()).log(Level.SEVERE, null, ex);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
@ -88,12 +88,12 @@ public class Util {
|
|||
in.close();
|
||||
return output.toByteArray();
|
||||
} catch (IOException ex) {
|
||||
Logger.getLogger(FileBin.class.getName()).log(Level.SEVERE, null, ex);
|
||||
Logger.getLogger(Util.class.getName()).log(Level.SEVERE, null, ex);
|
||||
} finally {
|
||||
try {
|
||||
in.close();
|
||||
} catch (IOException ex) {
|
||||
Logger.getLogger(FileBin.class.getName()).log(Level.SEVERE, null, ex);
|
||||
Logger.getLogger(Util.class.getName()).log(Level.SEVERE, null, ex);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue