mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
remove unused code
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,28 +0,0 @@
|
||||
package com.alibaba.druid;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import com.alibaba.druid.util.LinkedTransferQueue;
|
||||
|
||||
public class TestLinkedTransferQueue extends TestCase {
|
||||
|
||||
public void test_LinkedTransferQueue() throws Exception {
|
||||
final LinkedTransferQueue<String> q = new LinkedTransferQueue<String>();
|
||||
|
||||
Thread thread = new Thread() {
|
||||
|
||||
public void run() {
|
||||
for (;;) {
|
||||
try {
|
||||
q.take();
|
||||
} catch (InterruptedException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
thread.start();
|
||||
q.put("1");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user