logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickwilli...@apache.org
Subject svn commit: r1562693 - /logging/log4j/log4j2/trunk/src/site/xdoc/manual/webapp.xml
Date Thu, 30 Jan 2014 05:34:50 GMT
Author: nickwilliams
Date: Thu Jan 30 05:34:49 2014
New Revision: 1562693

URL: http://svn.apache.org/r1562693
Log:
Fixing a syntax error in sample code in documentation

Modified:
    logging/log4j/log4j2/trunk/src/site/xdoc/manual/webapp.xml

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/webapp.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/webapp.xml?rev=1562693&r1=1562692&r2=1562693&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/webapp.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/webapp.xml Thu Jan 30 05:34:49 2014
@@ -308,10 +308,10 @@
     {
         final AsyncContext context = request.startAsync(request, response);
         context.setTimeout(timeout);
-        context.start(() => {
+        context.start(() -> {
             Log4jWebSupport support = (Log4jWebSupport)this.getServletContext()
                     .getAttribute(Log4jWebSupport.SUPPORT_ATTRIBUTE);
-            support.wrapExecution(() => {
+            support.wrapExecution(() -> {
                 // miscellaneous asynchronous request handling
             });
         });



Mime
View raw message