directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r872085 - in /websites/staging/directory/trunk/content: ./ api/user-guide/6.12-entry.html
Date Wed, 31 Jul 2013 10:19:56 GMT
Author: buildbot
Date: Wed Jul 31 10:19:55 2013
New Revision: 872085

Log:
Staging update by buildbot for directory

Modified:
    websites/staging/directory/trunk/content/   (props changed)
    websites/staging/directory/trunk/content/api/user-guide/6.12-entry.html

Propchange: websites/staging/directory/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jul 31 10:19:55 2013
@@ -1 +1 @@
-1508799
+1508802

Modified: websites/staging/directory/trunk/content/api/user-guide/6.12-entry.html
==============================================================================
--- websites/staging/directory/trunk/content/api/user-guide/6.12-entry.html (original)
+++ websites/staging/directory/trunk/content/api/user-guide/6.12-entry.html Wed Jul 31 10:19:55
2013
@@ -380,7 +380,7 @@
 <span class="kt">boolean</span> <span class="n">contains</span> <span
class="o">=</span> <span class="n">entry</span><span class="o">.</span><span
class="na">containsAttribute</span><span class="o">(</span> <span
class="s">&quot;cn&quot;</span><span class="o">,</span> <span
class="s">&quot;sn&quot;</span> <span class="o">);</span>
 
 <span class="c1">// Check that the entry contains 3 given values of the &#39;cn&#39;
Attribute</span>
-<span class="n">contains</span> <span class="o">=</span> <span
class="n">entry</span><span class="o">.</span><span class="na">contains</span><span
class="o">(</span> <span class="s">&quot;cn&quot;</span><span
class="o">,</span> <span class="s">&quot;test1&quot;</span><span
class="o">,</span> <span class="s">&quot;test2&quot;</span><span
class="o">,</span> <span class="s">&quot;test3&quot;</span> <span
class="o">)</span> <span class="o">);</span>
+<span class="n">contains</span> <span class="o">=</span> <span
class="n">entry</span><span class="o">.</span><span class="na">contains</span><span
class="o">(</span> <span class="s">&quot;cn&quot;</span><span
class="o">,</span> <span class="s">&quot;test1&quot;</span><span
class="o">,</span> <span class="s">&quot;test2&quot;</span><span
class="o">,</span> <span class="s">&quot;test3&quot;</span> <span
class="o">);</span>
 </pre></div>
 
 
@@ -398,7 +398,7 @@
     <span class="s">&quot;cn: test3&quot;</span> <span class="o">);</span>
 
 <span class="c1">// Get the &#39;cn&#39; Attribute</span>
-<span class="n">Attribute</span> <span class="n">cn</span> <span
class="o">=</span> <span class="n">entry</span><span class="o">.</span><span
class="na">get</span><span class="o">(</span> <span class="s">&quot;cn&quot;</span>
<span class="o">)</span> <span class="o">);</span>
+<span class="n">Attribute</span> <span class="n">cn</span> <span
class="o">=</span> <span class="n">entry</span><span class="o">.</span><span
class="na">get</span><span class="o">(</span> <span class="s">&quot;cn&quot;</span>
<span class="o">);</span>
 
 <span class="c1">// Get all the Attributes</span>
 <span class="n">Collection</span><span class="o">&lt;</span><span
class="n">Attribute</span><span class="o">&gt;</span> <span class="n">attributes</span>
<span class="o">=</span> <span class="n">entry</span><span class="o">.</span><span
class="na">getAttributes</span><span class="o">();</span>



Mime
View raw message