예제 #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();
   }
 }