r1875 - trunk/main/metro/part/src/main/net/dpml/runtime

mcconnell at BerliOS mcconnell at mail.berlios.de
Sat Feb 17 03:05:45 EST 2007


Author: mcconnell
Date: 2007-02-17 09:05:45 +0100 (Sat, 17 Feb 2007)
New Revision: 1875

Modified:
   trunk/main/metro/part/src/main/net/dpml/runtime/ContextDirective.java
Log:
housekeeping

Modified: trunk/main/metro/part/src/main/net/dpml/runtime/ContextDirective.java
===================================================================
--- trunk/main/metro/part/src/main/net/dpml/runtime/ContextDirective.java	2007-02-17 08:05:08 UTC (rev 1874)
+++ trunk/main/metro/part/src/main/net/dpml/runtime/ContextDirective.java	2007-02-17 08:05:45 UTC (rev 1875)
@@ -106,27 +106,6 @@
                 }
             }
         }
-        
-        /*
-        // override context with query arguments if present
-        if( null != query )
-        {
-            Map<String,String> map = new Hashtable<String,String>();
-            String[] segments = query.split( "," );
-            for( String segment : segments )
-            {
-                String[] args = segment.split( "=" );
-                if( args.length != 2 )
-                {
-                    throw new IllegalArgumentException( "Invalid query [" + segment + "]" );
-                }
-                String key = args[0];
-                String param = args[1];
-                Value value = new Construct( param );
-                m_entries.put( key, new ValueWrapper( null, value ) );
-            }
-        }
-        */
     }
     
     int size()
@@ -134,11 +113,6 @@
         return m_entries.size();
     }
     
-    //String[] getKeys()
-    //{
-    //    return m_entries.keySet().toArray( new String[0] );
-    //}
-    
     public Element getElement()
     {
         return m_element;




More information about the notify-dpml mailing list