mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-12 08:47:50 +01:00
new DebugUtils method
This commit is contained in:
parent
c5c081e8bd
commit
a2fa841947
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…
Add table
Reference in a new issue