Jindent - Java Source Code Formatter http://www.jindent.com
 



title
5.6.2.9.6 Statements

Wrap after left parentheses ( on demand

Wrap after left parentheses ( on demand

Determines whether line breaks are allowed after left parentheses or not.


Do not allow wrapping after left parentheses:

if (x == 0                                                                  |
{                                                                             |
    
stringBuffer = new StringBuffer("a pretty long String value which is not easy to wrap");
}
                                                                             |


Allow wrapping after left parentheses:

if (x == 0                                                                  |
{                                                                             |
    
stringBuffer = new StringBuffer(                                          |
        
"a pretty long String value which is not easy to wrap");              |
}                                                                             |