View Javadoc
1   /*
2   WhitespaceAfter
3   tokens = LITERAL_FINALLY
4   
5   
6   */
7   
8   package com.puppycrawl.tools.checkstyle.checks.whitespace.whitespaceafter;
9   
10  public class InputWhitespaceAfterLiteralFinally {
11      public static void main(String[] args) {
12  
13       try {} finally {} // OK
14       try {} finally{} // violation ''finally' is not followed by whitespace'
15  
16       try {} catch (Error e){} finally {} // OK
17       try {} catch (Error e){} finally{} // violation''finally' is not followed by whitespace'
18      }
19  }