[java-shib-common COMMIT] /branches/REL_1/src/test/java/edu/internet2/middleware/shibboleth/common/attribute/filterin...
noreply at shibboleth.net
noreply at shibboleth.net
Tue Nov 6 09:48:41 EST 2012
Author: scantor
Date: Tue Nov 6 09:48:41 2012
New Revision: 1038
URL: http://svn.shibboleth.net/view/java-shib-common?rev=1038&view=rev
Log:
Switch from first() to get(0) for Tree -> Array change.
Modified:
branches/REL_1/src/test/java/edu/internet2/middleware/shibboleth/common/attribute/filtering/provider/match/basic/ScriptMatchFunctorTest.java
Modified: branches/REL_1/src/test/java/edu/internet2/middleware/shibboleth/common/attribute/filtering/provider/match/basic/ScriptMatchFunctorTest.java
URL: http://svn.shibboleth.net/view/java-shib-common/branches/REL_1/src/test/java/edu/internet2/middleware/shibboleth/common/attribute/filtering/provider/match/basic/ScriptMatchFunctorTest.java?rev=1038&r1=1037&r2=1038&view=diff
==============================================================================
--- branches/REL_1/src/test/java/edu/internet2/middleware/shibboleth/common/attribute/filtering/provider/match/basic/ScriptMatchFunctorTest.java (original)
+++ branches/REL_1/src/test/java/edu/internet2/middleware/shibboleth/common/attribute/filtering/provider/match/basic/ScriptMatchFunctorTest.java Tue Nov 6 09:48:41 2012
@@ -30,7 +30,7 @@
"function Result(filterContext, attributeId, attributeValue) {" +
" if (attributeId == null) return true;" +
" if (attributeValue == null) return true;" +
- " return filterContext.getUnfilteredAttributes().get(attributeId).getValues().first().toString().equals(attributeValue);" +
+ " return filterContext.getUnfilteredAttributes().get(attributeId).getValues().get(0).toString().equals(attributeValue);" +
" }" +
"Result(filterContext, attributeId, attributeValue); ";
More information about the commits
mailing list