Since I\'ve updated my version of intelliJ (14.x to 15.x) it has started automatically collapsing single line methods in the Java editor:
Java
Previous versi
Open 'Settings' from the File menu. Under 'Editor' -> 'General' -> 'Code Folding', you will find a 'Collapse by Default' section.
Simply uncheck 'One-line methods' and click OK.