title: Why is the Java library source code so strangely indented?
body: <p>I often rely on the JDK source code to understand how I should implement an interface, and I often find some very strange indentation style at use. For instance, in <code>DefaultCellEditor.java</code>:</p>
  
  <pre><code>public DefaultCellEditor(final JTextField textField) {
      editorComponent = textField;
  this.clickCountToStart = 2;
      delegate = new EditorDelegate() {
          public void setValue(Object value) {
      textField.setText((value != null) ? value.toString() : "");
          }
  
      public Object getCellEditorValue() {
      return textField.getText();
      }
      };
  textField.addActionListener(delegate);
  }
  </code></pre>
  
  <p>I'm wondering if this is due to my IDE or not, since I find this kind of indentation quite strange and difficult to read.</p>