From 660cfa83a3b103147b34b22cf53fdd549acbd5ae Mon Sep 17 00:00:00 2001 From: Eric House Date: Fri, 5 Apr 2019 12:47:07 -0700 Subject: [PATCH] remove dead code --- .../main/java/org/eehouse/android/xw4/BoardDelegate.java | 1 - .../src/main/java/org/eehouse/android/xw4/BoardView.java | 6 ------ 2 files changed, 7 deletions(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java index 73859a259..e5ab72c55 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java @@ -562,7 +562,6 @@ public class BoardDelegate extends DelegateBase m_timers = new TimerRunnable[4]; // needs to be in sync with // XWTimerReason m_view = (BoardView)findViewById( R.id.board_view ); - m_view.setBoardDelegate( this ); if ( ! ABUtils.haveActionBar() ) { m_tradeButtons = findViewById( R.id.exchange_buttons ); if ( null != m_tradeButtons ) { diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardView.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardView.java index 1644dc169..1176950e1 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardView.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardView.java @@ -53,7 +53,6 @@ public class BoardView extends View implements BoardHandler, SyncedDraw { private static final int PINCH_THRESHOLD = 40; private Context m_context; - private BoardDelegate m_boardDlgt; private int m_defaultFontHt; private int m_mediumFontHt; private Runnable m_invalidator; @@ -285,11 +284,6 @@ public class BoardView extends View implements BoardHandler, SyncedDraw { return layoutDone; } // layoutBoardOnce - protected void setBoardDelegate( BoardDelegate dlgt ) - { - m_boardDlgt = dlgt; - } - // BoardHandler interface implementation public void startHandling( Activity parent, JNIThread thread, CommsConnTypeSet connTypes )