@Override public boolean equals(Object object){
  if (this == object) {
    return true;
  }
  if (object == null || getClass() != object.getClass()) {
    return false;
  }
  ManifestFile that=(ManifestFile)object;
  if (fileName != null ? !fileName.equals(that.fileName) : that.fileName != null) {
    return false;
  }
  return true;
}

@ Override public boolean equals ( Object object ) { if ( this == object ) { return true ; } if ( object == null || getClass ( ) != object . getClass ( ) ) { return false ; } ManifestFile that = ( ManifestFile ) object ; if ( fileName != null ? ! fileName . equals ( that . fileName ) : that . fileName != null ) { return false ; } return true ; }
manifest files are only considered equal if their filename is equal . other properties such as file size and row count are not considered .
