diff --git a/querydsl-core/src/main/java/com/mysema/query/Projectable.java b/querydsl-core/src/main/java/com/mysema/query/Projectable.java index e7bdb9c13..a2484c472 100644 --- a/querydsl-core/src/main/java/com/mysema/query/Projectable.java +++ b/querydsl-core/src/main/java/com/mysema/query/Projectable.java @@ -103,6 +103,8 @@ public interface Projectable { /** * list the results for the given projection + * + * An empty list is returned for no results. * * @param first * @param second @@ -114,6 +116,8 @@ public interface Projectable { /** * list the results for the given projection + * + * An empty list is returned for no results. * * @param args * @return @@ -122,6 +126,8 @@ public interface Projectable { /** * list the results for the given projection + * + * An empty list is returned for no results. * * @param * generic type of the List @@ -132,6 +138,8 @@ public interface Projectable { /** * list the distinct results for the given projection + * + * An empty list is returned for no results. * * @param first * @param second @@ -143,6 +151,8 @@ public interface Projectable { /** * list the distinct results for the given projection + * + * An empty list is returned for no results. * * @param args * @return @@ -151,6 +161,8 @@ public interface Projectable { /** * list the distinct results for the given projection + * + * An empty list is returned for no results. * * @param * generic type of the List @@ -180,6 +192,8 @@ public interface Projectable { /** * return the given projection as a Map instance using key and value for Map population * + * An empty map is returned for no results. + * * @param * @param * @param key diff --git a/querydsl-core/src/main/java/com/mysema/query/SearchResults.java b/querydsl-core/src/main/java/com/mysema/query/SearchResults.java index 0e8330628..eec862924 100644 --- a/querydsl-core/src/main/java/com/mysema/query/SearchResults.java +++ b/querydsl-core/src/main/java/com/mysema/query/SearchResults.java @@ -42,6 +42,8 @@ public final class SearchResults { /** * Get the results in List form + * + * An empty list is returned for no results. * * @return */