From 98e3cd42810487e0af5d8c4c611733f809aefe29 Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 19 Jul 2016 09:27:08 -0700 Subject: [PATCH] remove unused code --- .../org/eehouse/android/xw4/jni/JNIThread.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java index c317ec4f2..8400071fb 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java @@ -55,21 +55,6 @@ import junit.framework.Assert; public class JNIThread extends Thread { - private static Set s_curThreads = new HashSet(); - - public static JNIThread getCurrent() { - JNIThread result = null; - synchronized( s_curThreads ) { - // DbgUtils.logf( "JNIThread.getCurrent(): have %d threads", - // s_curThreads.size() ); - if ( 1 == s_curThreads.size() ) { - result = s_curThreads.iterator().next(); - } - } - // DbgUtils.logf( "JNIThread.getCurrent() => %H", result ); - return result; - } - public enum JNICmd { CMD_NONE, // CMD_RUN, CMD_DRAW,