Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2013-12-11 23:28:08 +0000
committerGerrit Code Review @ Eclipse.org2013-12-14 00:56:23 +0000
commit625ee40bb2b897f5be429279fe51c1425e34bd87 (patch)
treecd9bd17e22400e194accf1850aa81995a557e58c /plugins
parentfb3de00135ad066dd29f64b184cc22566adee48b (diff)
downloadorg.eclipse.osee-625ee40bb2b897f5be429279fe51c1425e34bd87.tar.gz
org.eclipse.osee-625ee40bb2b897f5be429279fe51c1425e34bd87.tar.xz
org.eclipse.osee-625ee40bb2b897f5be429279fe51c1425e34bd87.zip
bug: Handle null lists when creating ResultSets
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/ResultSets.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/ResultSets.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/ResultSets.java
index 1698a34f9f..d68d5a91b4 100644
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/ResultSets.java
+++ b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/ResultSets.java
@@ -37,7 +37,7 @@ public final class ResultSets {
public static <T> ResultSet<T> newResultSet(List<T> list) {
ResultSet<T> toReturn;
- if (list.isEmpty()) {
+ if (list == null || list.isEmpty()) {
toReturn = emptyResultSet();
} else {
toReturn = new ResultSetList<T>(list);

Back to the top