View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.indentation.indentation; //indent:0 exp:0
2   
3   
4   /**                                                                           //indent:0 exp:0
5    * This test-input is intended to be checked using following configuration:   //indent:1 exp:1
6    *                                                                            //indent:1 exp:1
7    * arrayInitIndent = 4                                                        //indent:1 exp:1
8    * basicOffset = 4                                                            //indent:1 exp:1
9    * braceAdjustment = 0                                                        //indent:1 exp:1
10   * caseIndent = 4                                                             //indent:1 exp:1
11   * forceStrictCondition = false                                               //indent:1 exp:1
12   * lineWrappingIndentation = 8                                                //indent:1 exp:1
13   * tabWidth = 4                                                               //indent:1 exp:1
14   * throwsIndent = 8                                                           //indent:1 exp:1
15   *                                                                            //indent:1 exp:1
16   *                                                                            //indent:1 exp:1
17   */                                                                           //indent:1 exp:1                                                                   //indent:1 exp:1
18  public class InputIndentationSynchronizedStatement { //indent:0 exp:0
19      private static InputIndentationSynchronizedStatement instance;//indent:4 exp:4
20      public static InputIndentationSynchronizedStatement getInstance() {//indent:4 exp:4
21          if (instance == null) //indent:8 exp:8
22              synchronized (InputIndentationSynchronizedStatement.class) {//indent:12 exp:12
23                  if (instance == null)//indent:16 exp:16
24                      instance = new InputIndentationSynchronizedStatement();//indent:20 exp:20
25              }//indent:12 exp:12
26          return instance;//indent:8 exp:8
27      }//indent:4 exp:4
28  } //indent:0 exp:0