package org.musetest.core.events.matching;

import org.musetest.core.*;

/**
 * @author Christopher L Merrill (see LICENSE.txt for license details)
 */
public class EventTypeMatcher implements EventMatcher
    {
    public EventTypeMatcher(MuseEventType type)
        {
        _type = type.name();
        }

    public EventTypeMatcher(String type_id)
        {
        _type = type_id;
        }

    @Override
    public boolean matches(MuseEvent event)
        {
        return _type.equals(event.getTypeId());
        }

    private String _type;
    }



@@ -209,106 +209,8 @@
   %7B%0A
-    public EventTypeMatcher(MuseEventType type)%0A        %7B%0A        _type = type.name();%0A        %7D%0A%0A
     

remove unused constructor