Permalink
Browse files

Good working example for the docs

  • Loading branch information...
1 parent 20bc02c commit 84186e5285832aba06926a82d7f5b197c31b4b1c @jodygarnett jodygarnett committed Oct 30, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/user/welcome/upgrade.rst
@@ -130,11 +130,11 @@ AFTER::
try {
...
} finally {
- if( iterator instanceof Closeable ){
+ if (iterator instanceof Closeable) {
try {
- ((Closeable)iterator).close();
+ ((Closeable) iterator).close();
} catch (IOException e) {
- throw new RuntimeException(e);
+ LOGGER.log(Level.FINE, e.getMessage(), e);
}
}
}

0 comments on commit 84186e5

Please sign in to comment.