Author: elecharny
Date: Tue Sep 20 21:55:06 2016
New Revision: 1761644

URL: http://svn.apache.org/viewvc?rev=1761644&view=rev
Log:
Fixed the formating

Modified:
    
mina/site/trunk/content/mina-project/userguide/ch4-session/ch4-session.mdtext

Modified: 
mina/site/trunk/content/mina-project/userguide/ch4-session/ch4-session.mdtext
URL: 
http://svn.apache.org/viewvc/mina/site/trunk/content/mina-project/userguide/ch4-session/ch4-session.mdtext?rev=1761644&r1=1761643&r2=1761644&view=diff
==============================================================================
--- 
mina/site/trunk/content/mina-project/userguide/ch4-session/ch4-session.mdtext 
(original)
+++ 
mina/site/trunk/content/mina-project/userguide/ch4-session/ch4-session.mdtext 
Tue Sep 20 21:55:06 2016
@@ -168,32 +168,32 @@ As we said, this container is a key/valu
 
 This snippet of code shows how the container is created during the session 
initialization :
 
-       :::java
-       protected final void initSession(IoSession session,
-            IoFuture future, IoSessionInitializer sessionInitializer) {
-        ...
-        try {
-            ((AbstractIoSession) session).setAttributeMap(session.getService()
-                    
.getSessionDataStructureFactory().getAttributeMap(session));
-        } catch (IoSessionInitializationException e) {
-            throw e;
-        } catch (Exception e) {
-            throw new IoSessionInitializationException(
-                    "Failed to initialize an attributeMap.", e);
-        }
-        ...
+       :::java
+       protected final void initSession(IoSession session,
+              IoFuture future, IoSessionInitializer sessionInitializer) {
+          ...
+          try {
+              ((AbstractIoSession) 
session).setAttributeMap(session.getService()
+                      
.getSessionDataStructureFactory().getAttributeMap(session));
+          } catch (IoSessionInitializationException e) {
+              throw e;
+          } catch (Exception e) {
+              throw new IoSessionInitializationException(
+                      "Failed to initialize an attributeMap.", e);
+          }
+          ...
 
 and here is the factory interface we can implement if we want to define 
another kind of container :
 
-  :::java
-       public interface IoSessionDataStructureFactory {
-       /**
-                * Returns an {@link IoSessionAttributeMap} which is going to 
be associated
-                * with the specified <tt>session</tt>.  Please note that the 
returned
-                * implementation must be thread-safe.
-                */
-                IoSessionAttributeMap getAttributeMap(IoSession session) 
throws Exception;
-        }
+    :::java
+    public interface IoSessionDataStructureFactory {
+      /**
+      * Returns an {@link IoSessionAttributeMap} which is going to be 
associated
+      * with the specified <tt>session</tt>.  Please note that the returned
+      * implementation must be thread-safe.
+      */
+      IoSessionAttributeMap getAttributeMap(IoSession session) throws 
Exception;
+    }
 
 ### The session attributes access
 


Reply via email to