Skip to content

Commit

Permalink
drop unnecessary finals in DeathRattle example code
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhodges committed Jun 21, 2012
1 parent 15b00a0 commit 41e2118
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Usage is straightforward:
* <p/>
* <pre><code>
* final Counter c = Metrics.newCounter(MyRunnable.class, "thread-deaths");
* Counter c = Metrics.newCounter(MyRunnable.class, "thread-deaths");
* Thread.UncaughtExceptionHandler exHandler = new DeathRattleExceptionHandler(c);
* final Thread myThread = new Thread(myRunnable, "MyRunnable");
* myThread.setUncaughtExceptionHandler(exHandler);
Expand All @@ -27,7 +27,7 @@
* Setting the global default exception handler should be done first, like so:
* <p/>
* <pre><code>
* final Counter c = Metrics.newCounter(MyMainClass.class, "unhandled-thread-deaths");
* Counter c = Metrics.newCounter(MyMainClass.class, "unhandled-thread-deaths");
* Thread.UncaughtExceptionHandler ohNoIDidntKnowAboutThis = new DeathRattleExceptionHandler(c);
* Thread.setDefaultUncaughtExceptionHandler(ohNoIDidntKnowAboutThis);
* </code></pre>
Expand Down

0 comments on commit 41e2118

Please sign in to comment.