public static void assertIOThread(Thread t, boolean flag) {
        if (flag) {
            assert t.equals(Thread.currentThread()) : "Management NOT on IO thread when expected";  // XXX testing
        } else {
            assert !(t.equals(Thread.currentThread())) : "Management on IO thread when not expected";  // XXX testing
        }
    }
public static void assertIOThread ( Thread t , boolean flag ) { if ( flag ) { assert t . equals ( Thread . currentThread ( ) ) : "Management NOT on IO thread when expected" ; } else { assert ! ( t . equals ( Thread . currentThread ( ) ) ) : "Management on IO thread when not expected" ; } }
means we expect that we are NOT.