TARGET_J2EE ifdef reorder for readability
[mono.git] / mcs / class / System.Web / System.Web.SessionState / SessionStateModule.cs
index cb4d6c17d71e808e70f42b5140eed68ed79a4b1f..6470ce08ccd8768f0f4fc3669f7694d52f16e026 100644 (file)
@@ -42,10 +42,7 @@ namespace System.Web.SessionState
                internal static readonly string CookieName = "ASPSESSION";
                internal static readonly string HeaderName = "AspFilterSessionId";
                
-#if !TARGET_J2EE               
-               static SessionConfig config;
-               static Type handlerType;
-#else
+#if TARGET_J2EE                
                static private SessionConfig config {
                        get {
                                return (SessionConfig)AppDomain.CurrentDomain.GetData("SessionStateModule.config");
@@ -62,6 +59,9 @@ namespace System.Web.SessionState
                                AppDomain.CurrentDomain.SetData("SessionStateModule.handlerType", value);
                        }
                }
+#else
+               static SessionConfig config;
+               static Type handlerType;
 #endif         
                ISessionHandler handler;
                bool sessionForStaticFiles;