Re: how to combine this two if statements please need help... thanks
The title of the post suggests that you have two if statements that you would like to combine, but then the body of the post shows some Java code with five if statements?
Is it just that you want to transform:
Code:
if (A) {
if (B) {
doSomething();
}
}
into:
Code:
if (A && B) {
doSomething();
}
Or is it something else? Perhaps you could explain what you would like to do?
Could you also wrap any code that you post in [code]...[/code] tags so that it keeps its indentation?
And why are you calling System.gc()?
Please create new threads for new questions.
Please wrap code in code tags using the '#' button or enter it in your post like this: [code]...[/code].
Bookmarks