@Override public boolean equals(final Object obj) { if (obj instanceof GridFSSplit) { GridFSSplit other = (GridFSSplit) obj; return (null == inputURI ? null == other.inputURI : inputURI .equals(other.inputURI)) && fileId.equals(other.fileId) && chunkId == other.chunkId; } return false; } }
return false; if (getInputURI() != null ? !getInputURI().equals(that.getInputURI()) : that.getInputURI() != null) { return false;