directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szoer...@apache.org
Subject svn commit: r550057 - /directory/sandbox/szoerner/groovyldap/src/main/groovy/demoSearch.groovy
Date Sat, 23 Jun 2007 15:32:49 GMT
Author: szoerner
Date: Sat Jun 23 08:32:48 2007
New Revision: 550057

URL: http://svn.apache.org/viewvc?view=rev&rev=550057
Log:
syntax error in call removed

Modified:
    directory/sandbox/szoerner/groovyldap/src/main/groovy/demoSearch.groovy

Modified: directory/sandbox/szoerner/groovyldap/src/main/groovy/demoSearch.groovy
URL: http://svn.apache.org/viewvc/directory/sandbox/szoerner/groovyldap/src/main/groovy/demoSearch.groovy?view=diff&rev=550057&r1=550056&r2=550057
==============================================================================
--- directory/sandbox/szoerner/groovyldap/src/main/groovy/demoSearch.groovy (original)
+++ directory/sandbox/szoerner/groovyldap/src/main/groovy/demoSearch.groovy Sat Jun 23 08:32:48
2007
@@ -3,7 +3,7 @@
 ldap = LDAP.newInstance('ldap://zanzibar:10389/')
 
 // search op
-results = ldap.search('(objectClass=*)', 'dc=example,dc=com', SearchScope.ONE, )
+results = ldap.search('(objectClass=*)', 'dc=example,dc=com', SearchScope.ONE)
 println "${results.size} entries found:"
 for (entry in results) {
   println entry.dn



Mime
View raw message