示例#1
0
 @After
 public void cleanup() throws IOException {
   if (reuseQueue) {
     queue.clear();
   } else {
     queue.dispose();
   }
 }
示例#2
0
 @AfterClass
 public static void cleanupClass() throws IOException {
   if (queue != null) {
     queue.dispose();
   }
 }