mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
wrap elapsed time logging in its own debug flag and turn off.
This commit is contained in:
parent
8125c451cd
commit
646ec65d66
2 changed files with 3 additions and 2 deletions
|
@ -194,7 +194,7 @@ public class ExpiringDelegate {
|
|||
if ( null == m_runnable ) {
|
||||
m_runnable = new Runnable() {
|
||||
public void run() {
|
||||
if ( XWApp.DEBUG ) {
|
||||
if ( XWApp.DEBUG_EXP_TIMERS ) {
|
||||
DbgUtils.logf( "ExpiringDelegate: timer fired"
|
||||
+ " for %H", this );
|
||||
}
|
||||
|
@ -204,7 +204,7 @@ public class ExpiringDelegate {
|
|||
m_back = null;
|
||||
setBackground();
|
||||
}
|
||||
if ( XWApp.DEBUG ) {
|
||||
if ( XWApp.DEBUG_EXP_TIMERS ) {
|
||||
DbgUtils.logf( "ExpiringDelegate: invalidating"
|
||||
+ " view %H", m_view );
|
||||
}
|
||||
|
|
|
@ -35,6 +35,7 @@ public class XWApp extends Application {
|
|||
public static final boolean REMATCH_SUPPORTED = false;
|
||||
public static final boolean DEBUG = true; // DON'T SHIP THIS WAY
|
||||
public static final boolean DEBUG_LOCKS = false && DEBUG;
|
||||
public static final boolean DEBUG_EXP_TIMERS = false && DEBUG;
|
||||
|
||||
public static final String SMS_PUBLIC_HEADER = "-XW4";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue