Hi, anyone able to explain?
Why does this work and return the state of the bool.
public boolean isConnected() {
System.out.println(m_connected);
return m_connected;
}
While this doesnt return the right state.
public boolean isConnected() {
//System.out.println(m_connected);
return m_connected;
}
>java
>>58871799
you probably messed up somewhere else. post more code maybe. put it in code tags.
Tag the second one with @Deprecated. Problem solved.
Works on my machine (tm). You fucked up somewhere else