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



title
5.6.2.7.4 Commas

Space before commas

Space before commas

Controls whether a white space is inserted after comma or not.


Insert a white space before:

void·method(int·a·,int·b)·{             
    callMethod(a
·,·b);                  
}                                       


Do not insert a white space before:

void·method(int·a,int·b)·{              
    callMethod(a,b);                    
}                                       



Space after commas

Space after commas

Controls whether a white space is inserted after comma or not.


Insert a white space after:

void·method(int·a·,·int·b)·{            
    callMethod(a
·,·b);                  
}                                       


Do not insert a white space after:

void·method(int·a,int·b)·{              
    callMethod(a,b);                    
}