package com.yammer.schedulizer.entities;

public abstract class BaseEntity extends JsonAnnotatedEntity {
    public abstract long getId();

    @Override
    public boolean equals(Object other) {
        if (!other.getClass().equals(this.getClass())) {
            return false;
        }
        return getId() == ((BaseEntity)other).getId();
    }
}

@@ -201,13 +201,15 @@
     
-if (!
+return 
 othe
@@ -248,62 +248,11 @@
 s())
-) %7B%0A            return false;%0A        %7D%0A        return
+ &&
  get
@@ -272,16 +272,17 @@
 eEntity)
+ 
 other).g

Simplify BaseEntity equals method.