View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.whitespace.emptylineseparator;
2   
3   public class InputEmptyLineSeparatorPreviousLineEmptiness {
4       private static final int MULTIPLICATOR;
5   
6       private int base;
7   
8       static {
9           MULTIPLICATOR = 5;
10  
11  
12      }
13  
14      {
15  
16  
17          base = 33;
18      }
19  
20      public InputEmptyLineSeparatorPreviousLineEmptiness(int base) {
21  
22  
23          this.base = base;
24      }
25  
26      public InputEmptyLineSeparatorPreviousLineEmptiness() {
27      }
28  
29      public static int increment(int value) {
30  
31  
32          return value * MULTIPLICATOR + 1;
33      }
34  }