directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1508802 - /directory/site/trunk/content/api/user-guide/6.12-entry.mdtext
Date Wed, 31 Jul 2013 10:19:52 GMT
Author: pamarcelot
Date: Wed Jul 31 10:19:52 2013
New Revision: 1508802

URL: http://svn.apache.org/r1508802
Log:
Fixed typos in code.

Modified:
    directory/site/trunk/content/api/user-guide/6.12-entry.mdtext

Modified: directory/site/trunk/content/api/user-guide/6.12-entry.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/user-guide/6.12-entry.mdtext?rev=1508802&r1=1508801&r2=1508802&view=diff
==============================================================================
--- directory/site/trunk/content/api/user-guide/6.12-entry.mdtext (original)
+++ directory/site/trunk/content/api/user-guide/6.12-entry.mdtext Wed Jul 31 10:19:52 2013
@@ -305,7 +305,7 @@ One can check for the existence of a spe
     boolean contains = entry.containsAttribute( "cn", "sn" );
 
     // Check that the entry contains 3 given values of the 'cn' Attribute
-    contains = entry.contains( "cn", "test1", "test2", "test3" ) );
+    contains = entry.contains( "cn", "test1", "test2", "test3" );
 
 Note that if one value does not exist, the _contains() method will return false.
 
@@ -325,7 +325,7 @@ Returns the _Attribute_ having the given
         "cn: test3" );
     
     // Get the 'cn' Attribute
-    Attribute cn = entry.get( "cn" ) );
+    Attribute cn = entry.get( "cn" );
 
     // Get all the Attributes
     Collection<Attribute> attributes = entry.getAttributes();



Mime
View raw message