<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shout_poor</author_name>
  <author_url>https://blog.hatena.ne.jp/shout_poor/</author_url>
  <blog_title>NoisySpot/メモ帳</blog_title>
  <blog_url>https://noisyspot.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>Java7</anon>
  </categories>
  <description>少し時間ができたので、↓の記事を参考にJava7のtry-with-resourcesを試してみました。 Java7 体当たり／try-with-resources Statement - 日々常々まあ他の言語からするとアレですが、Java6以前から比較すると地味にありがたい拡張ですね。特にcloseのチェック例外を無視できるのが嬉しい。なぜかリソース系クラスのcloseメソッドはチェック例外持ちが多いので、closeの例外処理が不要でも、finallyブロック内にtryをネストしなきゃいかんというのは気分の悪いものでした。 実行順が気になる ところで、tryブロック内で例外がthrowされた…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoisyspot.hatenablog.com%2Fentry%2F20110801%2F1312208426&quot; title=&quot;try-with-resourcesを試してみる - NoisySpot/メモ帳&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-08-01 23:20:26</published>
  <title>try-with-resourcesを試してみる</title>
  <type>rich</type>
  <url>https://noisyspot.hatenablog.com/entry/20110801/1312208426</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
