commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1186012 - /commons/proper/digester/trunk/src/site/xdoc/guide/async.xml
Date Wed, 19 Oct 2011 07:46:38 GMT
Author: simonetripodi
Date: Wed Oct 19 07:46:38 2011
New Revision: 1186012

URL: http://svn.apache.org/viewvc?rev=1186012&view=rev
Log:
fixed broken XML entities
no needs of having a separate section

Modified:
    commons/proper/digester/trunk/src/site/xdoc/guide/async.xml

Modified: commons/proper/digester/trunk/src/site/xdoc/guide/async.xml
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/site/xdoc/guide/async.xml?rev=1186012&r1=1186011&r2=1186012&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/site/xdoc/guide/async.xml (original)
+++ commons/proper/digester/trunk/src/site/xdoc/guide/async.xml Wed Oct 19 07:46:38 2011
@@ -35,8 +35,7 @@ limitations under the License.
       </ul>
       <p><strong>Note</strong> keep always in mind the every single <code>Digester</code>
instance is NOT thread-safety,
       so please use the <i>asynchronous</i> feature carefully!!!</p>
-    </section>
-    <section name="Async in action">
+
       <subsection name="Using Digester Loader">
         <p>First of all, setup the <code>DigesterLoader</code> with <code>java.util.concurrent.ExecutorService</code>:</p>
         <source>final DigesterLoader digesterLoader = newLoader( new AbstractRulesModule()
@@ -53,7 +52,7 @@ limitations under the License.
         <p>Then create the Digester and run the <code>parse</code> method
asynchronously:</p>
         <source>Digester digester = digesterLoader.newDigester();
 ...
-Future&ltEmployee&gt; future = digester.asyncParse( new URL( "http://my.rest.server/employees/10"
) );</source>
+Future&lt;Employee&gt; future = digester.asyncParse( new URL( "http://my.rest.server/employees/10"
) );</source>
       </subsection>
 
       <subsection name="Using directly with the Digester">
@@ -64,7 +63,7 @@ digester.addObjectCreate( "employee", Em
 digester.setExecutorService( java.util.concurrent.Executors.newFixedThreadPool( 10 ) );
 </source>
         <p>Then run the <code>parse</code> method asynchronously:</p>
-        <source>Future&ltEmployee&gt; future = digester.asyncParse( new URL(
"http://my.rest.server/employees/10" ) );</source>
+        <source>Future&lt;Employee&gt; future = digester.asyncParse( new URL(
"http://my.rest.server/employees/10" ) );</source>
       </subsection>
     </section>
   </body>



Mime
View raw message