IDEA-52305 condensed code formatting for "flying geese" braces
authorDenis Zhdanov <Denis.Zhdanov@jetbrains.com>
Tue, 27 Apr 2010 08:37:41 +0000 (12:37 +0400)
committerDenis Zhdanov <Denis.Zhdanov@jetbrains.com>
Tue, 27 Apr 2010 08:37:41 +0000 (12:37 +0400)
commitaf5179b5eb1bd2eb28fa73badfc4ca116e3e6b3d
tree58a70271faef8670d032151d31af7faa86f97c6c
parentfcc49d0650370ee03916f28aaa95898bee31f56e
IDEA-52305 condensed code formatting for "flying geese" braces

1. Excluding empty siblings during 'previous' siblings processing;
2. Added utility method for finding next non-white space non-empty singling;
3. More meaningful name is given to getPrevElement() method;
java/java-impl/src/com/intellij/psi/formatter/java/FormattingAstUtil.java