The equals() method of LdifEntry does not consider the inner entry's attributes when ChangeType is not specified in the LDIF entry.
According to the the LDIF spec, when no changetype is specified in an LDIF entry, a changetype "ADD" is to be assumed.
An easy fix would be, in the equals() method of LdifEntry.java, add case NONE to the switch at:
// Check each different cases
switch ( changeType )
case None: //<-- Add None case fall through