From 2be2991bc9be77da21f07e6c626e88b78d3f6050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Westk=C3=A4mper?= Date: Fri, 1 Jul 2011 13:02:46 +0000 Subject: [PATCH] #798922 : improved javadocs --- .../main/java/com/mysema/query/Projectable.java | 14 ++++++++++++++ .../main/java/com/mysema/query/SearchResults.java | 2 ++ 2 files changed, 16 insertions(+) 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 */