commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject cvs commit: jakarta-commons/configuration/src/java/org/apache/commons/configuration/web AppletConfiguration.java ServletConfiguration.java ServletContextConfiguration.java ServletFilterConfiguration.java ServletRequestConfiguration.java
Date Thu, 21 Oct 2004 18:42:09 GMT
ebourg      2004/10/21 11:42:09

  Modified:    configuration/src/java/org/apache/commons/configuration/web
                        AppletConfiguration.java ServletConfiguration.java
                        ServletContextConfiguration.java
                        ServletFilterConfiguration.java
                        ServletRequestConfiguration.java
  Log:
  explicit javadoc for unsupported methods
  
  Revision  Changes    Path
  1.3       +13 -1     jakarta-commons/configuration/src/java/org/apache/commons/configuration/web/AppletConfiguration.java
  
  Index: AppletConfiguration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/configuration/src/java/org/apache/commons/configuration/web/AppletConfiguration.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AppletConfiguration.java	14 Oct 2004 15:54:06 -0000	1.2
  +++ AppletConfiguration.java	21 Oct 2004 18:42:09 -0000	1.3
  @@ -51,6 +51,12 @@
           return applet.getParameter(key);
       }
   
  +    /**
  +     * <p><strong>This operation is not supported and will throw an
  +     * UnsupportedOperationException.</strong></p>
  +     *
  +     * @throws UnsupportedOperationException
  +     */
       protected void addPropertyDirect(String key, Object obj)
       {
           throw new UnsupportedOperationException("Read only configuration");
  @@ -66,6 +72,12 @@
           return getPropertyDirect(key) != null;
       }
   
  +    /**
  +     * <p><strong>This operation is not supported and will throw an
  +     * UnsupportedOperationException.</strong></p>
  +     *
  +     * @throws UnsupportedOperationException
  +     */
       public void clearProperty(String key)
       {
           throw new UnsupportedOperationException("Read only configuration");
  
  
  
  1.3       +13 -1     jakarta-commons/configuration/src/java/org/apache/commons/configuration/web/ServletConfiguration.java
  
  Index: ServletConfiguration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/configuration/src/java/org/apache/commons/configuration/web/ServletConfiguration.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ServletConfiguration.java	14 Oct 2004 15:54:06 -0000	1.2
  +++ ServletConfiguration.java	21 Oct 2004 18:42:09 -0000	1.3
  @@ -62,6 +62,12 @@
           return config.getInitParameter(key);
       }
   
  +    /**
  +     * <p><strong>This operation is not supported and will throw an
  +     * UnsupportedOperationException.</strong></p>
  +     *
  +     * @throws UnsupportedOperationException
  +     */
       protected void addPropertyDirect(String key, Object obj)
       {
           throw new UnsupportedOperationException("Read only configuration");
  @@ -77,6 +83,12 @@
           return getPropertyDirect(key) != null;
       }
   
  +    /**
  +     * <p><strong>This operation is not supported and will throw an
  +     * UnsupportedOperationException.</strong></p>
  +     *
  +     * @throws UnsupportedOperationException
  +     */
       public void clearProperty(String key)
       {
           throw new UnsupportedOperationException("Read only configuration");
  
  
  
  1.3       +13 -1     jakarta-commons/configuration/src/java/org/apache/commons/configuration/web/ServletContextConfiguration.java
  
  Index: ServletContextConfiguration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/configuration/src/java/org/apache/commons/configuration/web/ServletContextConfiguration.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ServletContextConfiguration.java	14 Oct 2004 15:54:06 -0000	1.2
  +++ ServletContextConfiguration.java	21 Oct 2004 18:42:09 -0000	1.3
  @@ -63,6 +63,12 @@
           return context.getInitParameter(key);
       }
   
  +    /**
  +     * <p><strong>This operation is not supported and will throw an
  +     * UnsupportedOperationException.</strong></p>
  +     *
  +     * @throws UnsupportedOperationException
  +     */
       protected void addPropertyDirect(String key, Object obj)
       {
           throw new UnsupportedOperationException("Read only configuration");
  @@ -78,6 +84,12 @@
           return getPropertyDirect(key) != null;
       }
   
  +    /**
  +     * <p><strong>This operation is not supported and will throw an
  +     * UnsupportedOperationException.</strong></p>
  +     *
  +     * @throws UnsupportedOperationException
  +     */
       public void clearProperty(String key)
       {
           throw new UnsupportedOperationException("Read only configuration");
  
  
  
  1.3       +13 -1     jakarta-commons/configuration/src/java/org/apache/commons/configuration/web/ServletFilterConfiguration.java
  
  Index: ServletFilterConfiguration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/configuration/src/java/org/apache/commons/configuration/web/ServletFilterConfiguration.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ServletFilterConfiguration.java	14 Oct 2004 15:54:06 -0000	1.2
  +++ ServletFilterConfiguration.java	21 Oct 2004 18:42:09 -0000	1.3
  @@ -48,6 +48,12 @@
           return config.getInitParameter(key);
       }
   
  +    /**
  +     * <p><strong>This operation is not supported and will throw an
  +     * UnsupportedOperationException.</strong></p>
  +     *
  +     * @throws UnsupportedOperationException
  +     */
       protected void addPropertyDirect(String key, Object obj)
       {
           throw new UnsupportedOperationException("Read only configuration");
  @@ -63,6 +69,12 @@
           return getPropertyDirect(key) != null;
       }
   
  +    /**
  +     * <p><strong>This operation is not supported and will throw an
  +     * UnsupportedOperationException.</strong></p>
  +     *
  +     * @throws UnsupportedOperationException
  +     */
       public void clearProperty(String key)
       {
           throw new UnsupportedOperationException("Read only configuration");
  
  
  
  1.3       +13 -1     jakarta-commons/configuration/src/java/org/apache/commons/configuration/web/ServletRequestConfiguration.java
  
  Index: ServletRequestConfiguration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/configuration/src/java/org/apache/commons/configuration/web/ServletRequestConfiguration.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ServletRequestConfiguration.java	14 Oct 2004 15:54:06 -0000	1.2
  +++ ServletRequestConfiguration.java	21 Oct 2004 18:42:09 -0000	1.3
  @@ -50,6 +50,12 @@
           return request.getParameter(key);
       }
   
  +    /**
  +     * <p><strong>This operation is not supported and will throw an
  +     * UnsupportedOperationException.</strong></p>
  +     *
  +     * @throws UnsupportedOperationException
  +     */
       protected void addPropertyDirect(String key, Object obj)
       {
           throw new UnsupportedOperationException("Read only configuration");
  @@ -65,6 +71,12 @@
           return getPropertyDirect(key) != null;
       }
   
  +    /**
  +     * <p><strong>This operation is not supported and will throw an
  +     * UnsupportedOperationException.</strong></p>
  +     *
  +     * @throws UnsupportedOperationException
  +     */
       public void clearProperty(String key)
       {
           throw new UnsupportedOperationException("Read only configuration");
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message