Removing references to FileBin from Util static methods

master
Nelson R. Perez 2016-11-29 12:49:46 -05:00
parent 1e6bd3b7d3
commit cd2f765fe6
1 changed files with 4 additions and 4 deletions

View File

@ -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;