templates/todo/api/java/src/main/java/com/microsoft/azure/simpletodo/model/TodoItem.java [141:154]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public boolean equals(final Object o) {
        // items are equal if they have the same `listId` and `id`
        if (o == this) return true;
        if (!(o instanceof TodoItem)) return false;
        final TodoItem other = (TodoItem) o;
        if (!((Object) this instanceof TodoItem)) return false;
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        if (this$id == null ? other$id != null : !this$id.equals(other$id)) return false;
        final Object this$listId = this.getListId();
        final Object other$listId = other.getListId();
        if (this$listId == null ? other$listId != null : !this$listId.equals(other$listId)) return false;
        return true;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templates/todo/api/java-postgresql/src/main/java/com/microsoft/azure/simpletodo/model/TodoItem.java [149:162]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public boolean equals(final Object o) {
        // items are equal if they have the same `listId` and `id`
        if (o == this) return true;
        if (!(o instanceof TodoItem)) return false;
        final TodoItem other = (TodoItem) o;
        if (!((Object) this instanceof TodoItem)) return false;
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        if (this$id == null ? other$id != null : !this$id.equals(other$id)) return false;
        final Object this$listId = this.getListId();
        final Object other$listId = other.getListId();
        if (this$listId == null ? other$listId != null : !this$listId.equals(other$listId)) return false;
        return true;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



