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



title
5.6.2.7.7 QuestionsMarks

Space before question marks of ternary conditions

Space before question marks of ternary conditions

Controls whether a white space is inserted before ternary hooks or not.


Insert a white space before:

int·x=(a==0)·?b:c;                      


Do not insert a white space before:

int·x=(a==0)?b:c;                       



Space after question marks of ternary conditions

Space after question marks of ternary conditions

Controls whether a white space is inserted after ternary hooks or not.


Insert a white space after:

int·x=(a==0)?·b:c;                      


Do not insert a white space after:

int·x=(a==0)?b:c;                       




See also... See also: Space before colons of ternary conditions , Space after colons of ternary conditions