package com.pushtorefresh.storio.db.operation.delete;

import android.support.annotation.NonNull;

import java.util.Collections;
import java.util.Map;

public class DeleteCollectionOfObjectsResult<T> {

    @NonNull private final Map<T, DeleteResult> results;

    public DeleteCollectionOfObjectsResult(@NonNull Map<T, DeleteResult> results) {
        this.results = Collections.unmodifiableMap(results);
    }

    @NonNull public Map<T, DeleteResult> results() {
        return results;
    }

    public boolean wasDeleted(T object) {
        return results.containsKey(object);
    }

    public boolean wasNotDeleted(T object) {
        return !results.containsKey(object);
    }
}

@@ -512,32 +512,41 @@
 lean wasDeleted(
+@NonNull 
 T object) %7B%0A    
@@ -625,16 +625,25 @@
 Deleted(
+@NonNull 
 T object

Add @NonNull annotations for wasDeleted() and wasNotDeleted()