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 } }
means we expect that we are NOT .