portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/services/registry/src/java/org/apache/jetspeed/om/entity/impl PortletEntityImpl.java
Date Mon, 19 Jan 2004 21:46:17 GMT
weaver      2004/01/19 13:46:17

  Modified:    services/registry/src/java/org/apache/jetspeed/om/entity/impl
                        PortletEntityImpl.java
  Log:
  initialized originalPreferences collection
  
  Revision  Changes    Path
  1.2       +5 -1      jakarta-jetspeed-2/services/registry/src/java/org/apache/jetspeed/om/entity/impl/PortletEntityImpl.java
  
  Index: PortletEntityImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/services/registry/src/java/org/apache/jetspeed/om/entity/impl/PortletEntityImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PortletEntityImpl.java	12 Jan 2004 06:19:51 -0000	1.1
  +++ PortletEntityImpl.java	19 Jan 2004 21:46:17 -0000	1.2
  @@ -250,6 +250,10 @@
        */
       public void afterLookup(PersistenceBroker arg0) throws PersistenceBrokerException
       {
  +    	if(originalPreferences == null)
  +    	{
  +			originalPreferences = new PreferenceSetImpl();
  +    	}
           ((Collection) originalPreferences).addAll((Collection) preferences);
       }
   
  
  
  

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


Mime
View raw message