Code: Select all
if (method1ReturnTrue()) {
//doSomething
if (method2ReturnTrue()) {
//doSomething
if (method3ReturnTrue()) {
//doSomething
}
}
}
Code: Select all
if (method1ReturnTrue()) {
//doSomething
if (method2ReturnTrue()) {
//doSomething
if (method3ReturnTrue()) {
//doSomething
}
}
}