I wonder if you're using Eclipse and Java Conventations for your code formatting.