TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - Java Coding Standard
Search

Rule:  Basic5Checked automatically with code checker

Synopsis:Avoid empty finally blocks
Language:Java
Severity Level:5
Category:Basic


Description:
Avoid empty finally blocks - these can be deleted.
public class Foo {
 public void bar() {
  try {
    int x=2;
   } finally {
    // empty!
   }
 }
}