weaver      2003/10/17 12:44:25

  Modified:    portal/src/java/org/apache/jetspeed/om/impl
                        ParameterImpl.java
  Log:
  add(Description) added
  
  Revision  Changes    Path
  1.2       +11 -1     
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/om/impl/ParameterImpl.java
  
  Index: ParameterImpl.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/om/impl/ParameterImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ParameterImpl.java        10 Oct 2003 05:12:09 -0000      1.1
  +++ ParameterImpl.java        17 Oct 2003 19:44:25 -0000      1.2
  @@ -60,7 +60,6 @@
   import org.apache.jetspeed.om.common.MutableDescription;
   import org.apache.jetspeed.om.common.MutableDescriptionSet;
   import org.apache.jetspeed.om.common.ParameterComposite;
  -import org.apache.jetspeed.om.impl.*;
   import org.apache.jetspeed.util.HashCodeBuilder;
   import org.apache.pluto.om.common.Description;
   import org.apache.pluto.om.common.DescriptionSet;
  @@ -172,6 +171,17 @@
           }
   
           descriptions.addDescription(new DescriptionImpl(locale, desc, 
MutableDescription.TYPE_PARAMETER));
  +
  +    }
  +
  +    public void addDescription(Description desc)
  +    {
  +        if (descriptions == null)
  +        {
  +            descriptions = new 
DescriptionSetImpl(MutableDescription.TYPE_PARAMETER);
  +        }
  +
  +        descriptions.addDescription(desc);
   
       }
   
  
  
  

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

Reply via email to