• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Block Explorer 
  • Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Hive Proposals 
  • OpenHive Chat 
  • Developer Portal 
  • Hive Whitepaper 
  • Privacy Policy
  • Terms of Service
logo
  • Posts
  • Proposals
  • Witnesses
  • Our dApps
LoginSign up

java closeQuietly

seyon (25)in #java • 8 years ago

public static void closeQuietly(Closeable closeable) {
if (closeable != null) {
try {
closeable.close();
closeable = null;
} catch (IOException ex) {
}
}
}

#close #quietly #stream
8 years ago in #java by seyon (25)
$0.00
    Reply 0
    Sort:  
  • Trending
    • Trending
    • Votes
    • Age