forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject svn commit: rev 37398 - forrest/trunk/src/java/org/apache/cocoon/components/modules/input/lm
Date Thu, 02 Sep 2004 16:37:36 GMT
Author: nicolaken
Date: Thu Sep  2 09:37:35 2004
New Revision: 37398

Modified:
   forrest/trunk/src/java/org/apache/cocoon/components/modules/input/lm/LocationMap.java
Log:
temp hack to get it compiling with 2.2

Modified: forrest/trunk/src/java/org/apache/cocoon/components/modules/input/lm/LocationMap.java
==============================================================================
--- forrest/trunk/src/java/org/apache/cocoon/components/modules/input/lm/LocationMap.java
(original)
+++ forrest/trunk/src/java/org/apache/cocoon/components/modules/input/lm/LocationMap.java
Thu Sep  2 09:37:35 2004
@@ -215,7 +215,10 @@
         final InvokeContext context = new InvokeContext();
         final Logger contextLogger = getLogger().getChildLogger("ctx");
         context.enableLogging(contextLogger);
-        context.compose(m_manager);
+        //TODO nicolaken: temp hack to get it compiling with 2.2
+        throw new RuntimeException("Cannot use LocationMap intended for 2.1 with 2.2; please
reconvert to Serviceable.");
+        /* uncomment
+        context.compose(m_manager);       
         
         final Map anchorMap = new HashMap(2);
         anchorMap.put(HINT_KEY,hint);
@@ -235,6 +238,7 @@
         }
         
         return location;
+        */
     }
     
     /**

Mime
View raw message