Esempio n. 1
0
 @Override
 protected void finalize() throws Throwable {
   super.finalize();
   if (!closed) {
     log.warn(this + " not closed properly");
     close();
   }
 }