#346 - ENH: Add @Nullable annotation on find by id and findUnique() methods

This commit is contained in:
Robin Bygrave
2015-07-20 20:06:55 +12:00
parent 2bd7995ca1
commit ba5c67f936
7 changed files with 22 additions and 9 deletions
+2
View File
@@ -1,6 +1,7 @@
package com.avaje.ebean;
import com.avaje.ebean.text.PathProperties;
import org.jetbrains.annotations.Nullable;
import java.io.Serializable;
import java.util.List;
@@ -704,6 +705,7 @@ public interface Query<T> extends Serializable {
* ...
* }</pre>
*/
@Nullable
T findUnique();
/**