Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Code Formatter - Conditions
Code Formatter - Conditions [message #219010] Fri, 29 June 2007 22:54
António Casqueiro is currently offline António CasqueiroFriend
Messages: 1
Registered: July 2009
Junior Member
I'm having trouble figuring out the formating options for the pattern
below. Can someone help me?

public static void main(String[] args) {
boolean condition1;
boolean condition2 = false;
boolean condition3 = true;

condition1 = true;
// I want to have each condition in it's own row
// Is it possible? How?
if (condition1 &&
condition2 &&
condition3
) {
System.out.println("Yupi!!!");
}
}

Why do I want the conditions like this? Because in debug I can use the
"step" instruction to see which condition is failing
Previous Topic:Web Services
Next Topic:Installing JSF facet for project
Goto Forum:
  


Current Time: Tue Oct 01 10:38:44 GMT 2024

Powered by FUDForum. Page generated in 0.07821 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top