[lsc-changes] r492 - lsc/trunk/src/main/java/org/lsc/utils

jclarke at lsc-project.org jclarke at lsc-project.org
Sun Nov 29 22:19:20 CET 2009


Author: jclarke
Date: 2009-11-29 22:19:20 +0100 (Sun, 29 Nov 2009)
New Revision: 492

Modified:
   lsc/trunk/src/main/java/org/lsc/utils/SetUtils.java
Log:
Rename parameter

Modified: lsc/trunk/src/main/java/org/lsc/utils/SetUtils.java
===================================================================
--- lsc/trunk/src/main/java/org/lsc/utils/SetUtils.java	2009-11-29 21:18:39 UTC (rev 491)
+++ lsc/trunk/src/main/java/org/lsc/utils/SetUtils.java	2009-11-29 21:19:20 UTC (rev 492)
@@ -100,19 +100,19 @@
 	 * 
 	 * @param attrName
 	 *            The name of the attribute to return
-	 * @param Set<?> Values as a set
+	 * @param values Values as a set
 	 * @return Attribute An Attribute containing values from the set. Never null.
 	 * @throws NamingException
 	 */
-	public static Attribute setToAttribute(String attrName, Set<?> missingValues)
+	public static Attribute setToAttribute(String attrName, Set<?> values)
 	{
 		Attribute ret = new BasicAttribute(attrName);
 
-		if (missingValues == null || missingValues.size() == 0) {
+		if (values == null || values.size() == 0) {
 			return ret;
 		}
 
-		for (Object value : missingValues) {
+		for (Object value : values) {
 			ret.add(value);
 		}
 



More information about the lsc-changes mailing list