mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
new DebugUtils method
This commit is contained in:
parent
18e29a74ed
commit
450c39ed57
1 changed files with 6 additions and 1 deletions
|
@ -101,7 +101,12 @@ public class DbgUtils {
|
|||
|
||||
public static void assertOnUIThread()
|
||||
{
|
||||
Assert.assertTrue( Utils.isOnUIThread() );
|
||||
assertOnUIThread( true );
|
||||
}
|
||||
|
||||
public static void assertOnUIThread( boolean isOnThread )
|
||||
{
|
||||
Assert.assertTrue( isOnThread == Utils.isOnUIThread() );
|
||||
}
|
||||
|
||||
public static void printStack( String tag, StackTraceElement[] trace )
|
||||
|
|
Loading…
Reference in a new issue