rleland     2002/10/26 23:11:00

  Modified:    src/share/org/apache/struts/action DynaActionForm.java
  Log:
  Remove unused assignments and cleanup JavaDoc
  
  Revision  Changes    Path
  1.4       +7 -13     
jakarta-struts/src/share/org/apache/struts/action/DynaActionForm.java
  
  Index: DynaActionForm.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/DynaActionForm.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DynaActionForm.java       17 Jul 2002 15:40:23 -0000      1.3
  +++ DynaActionForm.java       27 Oct 2002 06:10:59 -0000      1.4
  @@ -165,8 +165,8 @@
   
   
       /**
  -     * Does the specified mapped property contain a value for the specified
  -     * key value?
  +     * Indicates if the specified mapped property contain a value for the specified
  +     * key value.
        *
        * @param name Name of the property to check
        * @param key Name of the key to check
  @@ -176,7 +176,6 @@
        */
       public boolean contains(String name, String key) {
   
  -        DynaProperty descriptor = getDynaProperty(name);
           Object value = dynaValues.get(name);
           if (value == null) {
               throw new NullPointerException
  @@ -260,7 +259,6 @@
        */
       public Object get(String name, int index) {
   
  -        DynaProperty descriptor = getDynaProperty(name);
           Object value = dynaValues.get(name);
           if (value == null) {
               throw new NullPointerException
  @@ -291,7 +289,6 @@
        */
       public Object get(String name, String key) {
   
  -        DynaProperty descriptor = getDynaProperty(name);
           Object value = dynaValues.get(name);
           if (value == null) {
               throw new NullPointerException
  @@ -330,7 +327,6 @@
        */
       public void remove(String name, String key) {
   
  -        DynaProperty descriptor = getDynaProperty(name);
           Object value = dynaValues.get(name);
           if (value == null) {
               throw new NullPointerException
  @@ -402,7 +398,6 @@
        */
       public void set(String name, int index, Object value) {
   
  -        DynaProperty descriptor = getDynaProperty(name);
           Object prop = dynaValues.get(name);
           if (prop == null) {
               throw new NullPointerException
  @@ -439,7 +434,6 @@
        */
       public void set(String name, String key, Object value) {
   
  -        DynaProperty descriptor = getDynaProperty(name);
           Object prop = dynaValues.get(name);
           if (prop == null) {
               throw new NullPointerException
  @@ -559,7 +553,7 @@
   
   
       /**
  -     * Is an object of the source class assignable to the destination class?
  +     * Indicates if an object of the source class is assignable to the destination 
class.
        *
        * @param dest Destination class
        * @param source Source class
  
  
  

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to