Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
case '\"':
			case '(':
			case '[':			
				command.doit= false;
				document.replace(command.offset, 0, String.valueOf(getClosingCharacter(character)));
				break;
			
			case ')':
			case ']':
				if (document.getChar(command.offset) == character)
					command.length++;
				break;
			}
		} catch (BadLocationException e) {
			System.out.println(JavaTextMessages.getString("AutoIndent.error.bad_location.message1")); 
		}
	}
	/*
	 * @see org.eclipse.jface.text.IAutoIndentStrategy#customizeDocumentCommand(org.eclipse.jface.text.IDocument, org.eclipse.jface.text.DocumentCommand)
	 */
	public void customizeDocumentCommand(IDocument d, DocumentCommand c) {
		if (c.length == 0 && c.text != null && endsWithDelimiter(d, c.text))
			smartIndentAfterNewLine(d, c);
		else if (c.text.length() == 1) {
			smartIndentAfterBlockDelimiter(d, c);
		}
	}
}