title: Try-finally with lock when no exception is thrown
body: <p>In the java manual it says that it is recommended to use try-finally when using lock() and unlock(), but this is also necessary when an exception is never thrown in the try block? for example:</p>
  <pre><code>mutex.lock();
  try 
  {
      x++
  } finally {
      mutex.unlock();
  }
  </code></pre>