Java Problem On Conditional Statement Truth