public boolean equals(final Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    final TodoIndexEntry that = (TodoIndexEntry)o;

    return caseSensitive == that.caseSensitive && pattern.equals(that.pattern);
  }
public boolean equals(final Object o)