package org.helioviewer.jhv.data.datatype.event;

import org.helioviewer.base.logging.Log;

public abstract class AbstractJHVEventType implements JHVEventType {
    @Override
    public final boolean equals(Object otherEventType) {
        if (otherEventType instanceof JHVEventType) {
            JHVEventType otherHekEvent = (JHVEventType) otherEventType;
            Log.debug("Equals return " + (otherHekEvent.getEventType().equals(getEventType()) && otherHekEvent.getEventSource().equals(getEventSource()) && otherHekEvent.getEventProvider().equals(getEventProvider())));
            return otherHekEvent.getEventType().equals(getEventType()) && otherHekEvent.getEventSource().equals(getEventSource()) && otherHekEvent.getEventProvider().equals(getEventProvider());
        } else {
            Log.debug("Equals returns false");
            return false;
        }
    }

    @Override
    public final int hashCode() {
        Log.debug("Event Type: " + getEventType());
        Log.debug("Event Source: " + getEventSource());
        Log.debug("Event Provider: " + getEventProvider());
        Log.debug(("" + getEventType() + getEventSource() + getEventProvider()).hashCode());
        return ("" + getEventType() + getEventSource() + getEventProvider()).hashCode();
    }

}

@@ -47,49 +47,8 @@
 t;%0A%0A
-import org.helioviewer.base.logging.Log;%0A
 %0Apub
@@ -314,227 +314,8 @@
 pe;%0A
-            Log.debug(%22Equals return %22 + (otherHekEvent.getEventType().equals(getEventType()) && otherHekEvent.getEventSource().equals(getEventSource()) && otherHekEvent.getEventProvider().equals(getEventProvider())));%0A
     
@@ -525,55 +525,8 @@
 e %7B%0A
-            Log.debug(%22Equals returns false%22);%0A
     
@@ -570,32 +570,32 @@
 %0A%0A    @Override%0A
+
     public final
@@ -616,269 +616,8 @@
 ) %7B%0A
-        Log.debug(%22Event Type: %22 + getEventType());%0A        Log.debug(%22Event Source: %22 + getEventSource());%0A        Log.debug(%22Event Provider: %22 + getEventProvider());%0A        Log.debug((%22%22 + getEventType() + getEventSource() + getEventProvider()).hashCode());%0A
     

Remove noise