From 7cff355b8444f3343858a199209a18f4ebfe3149 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Tue, 7 Feb 2012 11:31:53 +0000
Subject: [PATCH] LMS-2766 Weakening in extractSet() condition on argument to
 be treated as empty list.

SVN: 24371
---
 .../cisd/openbis/generic/shared/util/ServerUtils.java         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/util/ServerUtils.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/util/ServerUtils.java
index b6fda36e2c4..748f582b714 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/util/ServerUtils.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/util/ServerUtils.java
@@ -64,12 +64,12 @@ public class ServerUtils
      * Extracts from the comma-separated list of strings all distinct strings.
      * 
      * @return an empty list if the argument is <code>null</code>, an empty string or starts with
-     *         '${'.
+     *         '$'.
      */
     public static Set<String> extractSet(String commaSeparatedList)
     {
         Set<String> result = new HashSet<String>();
-        if (commaSeparatedList != null && commaSeparatedList.startsWith("${") == false)
+        if (commaSeparatedList != null && commaSeparatedList.startsWith("$") == false)
         {
             String[] terms = commaSeparatedList.split(",");
             for (String term : terms)
-- 
GitLab