(no commit message)
[utils] / support / general / src / test / java / org / wamblee / test / EventTracker.java
index e66d01475e08a50ee3f18c15ad451506f2ecbe0b..38b24666bf7a760f1b9c1e572b60f7e5269e83d5 100644 (file)
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.wamblee.test;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
+import java.util.logging.Logger;
 
 /**
  * Tracks the occurence of certain events in a test environment. Threads in a
  * test environment tell the event tracker of the occurrence of certain events
- * using {@link #eventOccurred(Event)}. Test code inspects the events sent by a
- * thread using {@link #isEventSent(Thread, Event)}.
+ * using {@link #eventOccurred(Object)}. Test code inspects the events sent by a
+ * thread using {@link #isEventSent(Thread, Object)}.
  * 
  * A record is kept of every event which is sent. Therefore, the occurrence of a
  * new event does not erase a previously sent event.
@@ -41,7 +39,8 @@ import java.util.Map;
  * @author Erik Brakkee
  */
 public class EventTracker<Event> {
-    private static final Log LOG = LogFactory.getLog(EventTracker.class);
+    private static final Logger LOG = Logger.getLogger(EventTracker.class
+        .getName());
 
     /**
      * Map of Thread object to a list of events.