Removing references to FileBin from Util static methods

This commit is contained in:
Nelson R. Perez 2016-11-29 12:49:46 -05:00
parent 1e6bd3b7d3
commit cd2f765fe6

View file

@ -57,12 +57,12 @@ public class Util {
out.finish(); out.finish();
return output.toByteArray(); return output.toByteArray();
} catch (IOException ex) { } catch (IOException ex) {
Logger.getLogger(FileBin.class.getName()).log(Level.SEVERE, null, ex); Logger.getLogger(Util.class.getName()).log(Level.SEVERE, null, ex);
} finally { } finally {
try { try {
out.close(); out.close();
} catch (IOException ex) { } 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; return null;
@ -88,12 +88,12 @@ public class Util {
in.close(); in.close();
return output.toByteArray(); return output.toByteArray();
} catch (IOException ex) { } catch (IOException ex) {
Logger.getLogger(FileBin.class.getName()).log(Level.SEVERE, null, ex); Logger.getLogger(Util.class.getName()).log(Level.SEVERE, null, ex);
} finally { } finally {
try { try {
in.close(); in.close();
} catch (IOException ex) { } 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; return null;