quintonm    2003/03/14 10:18:35

  Modified:    src/java/org/apache/turbine/util RunData.java
  Log:
  Replaced Hashtable with Map.  This *could* be a breaking change for getJNDIContexts 
method.
  
  Revision  Changes    Path
  1.5       +9 -7      jakarta-turbine-2/src/java/org/apache/turbine/util/RunData.java
  
  Index: RunData.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/RunData.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RunData.java      9 Mar 2003 02:54:11 -0000       1.4
  +++ RunData.java      14 Mar 2003 18:18:35 -0000      1.5
  @@ -56,8 +56,8 @@
   
   import java.io.IOException;
   import java.io.PrintWriter;
  -import java.util.Hashtable;
   import java.util.Locale;
  +import java.util.Map;
   import javax.servlet.ServletConfig;
   import javax.servlet.ServletContext;
   import javax.servlet.http.HttpServletRequest;
  @@ -67,6 +67,7 @@
   import org.apache.ecs.Document;
   import org.apache.ecs.Element;
   import org.apache.ecs.StringElement;
  +
   import org.apache.turbine.om.security.User;
   import org.apache.turbine.util.security.AccessControlList;
   import org.apache.turbine.util.template.TemplateInfo;
  @@ -82,6 +83,7 @@
    * @author <a href="mailto:[EMAIL PROTECTED]">Jon S. Stevens</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Bernie Hoeneisen</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Daniel Rall</a>
  + * @author <a href="mailto:[EMAIL PROTECTED]">Quinton McCombs</a>
    * @version $Id$
    */
   public interface RunData
  @@ -421,7 +423,7 @@
        * will set the print writer via the response.
        *
        * @return a print writer.
  -     * @throws IOException.
  +     * @throws IOException
        */
       PrintWriter getOut()
               throws IOException;
  @@ -539,14 +541,14 @@
        *
        * @return a hashtable.
        */
  -    Hashtable getJNDIContexts();
  +    Map getJNDIContexts();
   
       /**
        * Sets JNDI Contexts.
        *
        * @param contexts a hashtable.
        */
  -    void setJNDIContexts(Hashtable contexts);
  +    void setJNDIContexts(Map contexts);
   
       /**
        * Gets the cached server scheme.
  @@ -648,7 +650,7 @@
       /**
        * Gets a table of debug variables.
        *
  -     * @return a hashtable for debug variables.
  +     * @return a Map of debug variables.
        */
  -    Hashtable getVarDebug();
  +    Map getVarDebug();
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to