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



title
5.6.1.8 Blank Lines

title
5.6.1.8.1 Preserve

Keep blank lines up to

Keep blank lines up to

Keeps up to a specific number of blank lines from original source codes.


Original source code:

public void method(int a, int b)        
{                                       
                                       
    
int x = 10;                         
                                       
                                       
    
int y = 11;                         
    ...                                 
}                                       


Keep up to 1 blank line and output source code looks like:

public void method(int a, int b)        
{                                       
                                       
    
int x = 10;                         
                                       
    
int y = 11;                         
    ...                                 
}                                       


Keep up to 0 blank lines and the same example looks like:

public void method(int a, int b)        
{                                       
    
int x = 10;                         
    
int y = 11;                         
    ...                                 
}                                       

To preserve all blank lines from original source codes just use setting value infinite.