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



title
5.6.1.7.6 Commas

Space before commas

Space before commas

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


Insert a white space before:

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


Do not insert a white space before:

public·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:

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


Do not insert a white space after:

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