harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r561012 - in /harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext: BeanContextServicesSupport.java BeanContextSupport.java
Date Mon, 30 Jul 2007 15:28:38 GMT
Author: tellison
Date: Mon Jul 30 08:28:37 2007
New Revision: 561012

URL: http://svn.apache.org/viewvc?view=rev&rev=561012
Log:
Fix field definitions to match specification.

Modified:
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextServicesSupport.java
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextSupport.java

Modified: harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextServicesSupport.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextServicesSupport.java?view=diff&rev=561012&r1=561011&r2=561012
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextServicesSupport.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextServicesSupport.java
Mon Jul 30 08:28:37 2007
@@ -219,7 +219,8 @@
      * <code>BCSSServiceProvider</code> object. All access to this object
      * should be synchronized on itself.
      */
-    protected transient HashMap<Class, BCSSServiceProvider> services;
+    @SuppressWarnings("unchecked")
+    protected transient HashMap services;
 
     /**
      * The number of serializable service providers currently registered.
@@ -236,10 +237,11 @@
      * A list of registered <code>BeanContextServicesListener</code>s. All
      * access to this object should be synchronized on itself.
      */
-    protected transient ArrayList<BeanContextServicesListener> bcsListeners;
+    @SuppressWarnings("unchecked")
+    protected transient ArrayList bcsListeners;
 
     /**
-     * Constructs a standload <code>BeanContextServicesSupport</code>.
+     * Constructs a standard <code>BeanContextServicesSupport</code>.
      */
     public BeanContextServicesSupport() {
         super();

Modified: harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextSupport.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextSupport.java?view=diff&rev=561012&r1=561011&r2=561012
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextSupport.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextSupport.java
Mon Jul 30 08:28:37 2007
@@ -103,12 +103,14 @@
      * A list of registered membership listeners.
      * All access to this object should be synchronized on itself.
      */
-    transient protected ArrayList<BeanContextMembershipListener> bcmListeners;
+    @SuppressWarnings("unchecked")
+    transient protected ArrayList bcmListeners;
 
     /**
      * A map of children - key is child instance, value is <code>BCSChild</code>
instance.
      * All access to this object should be synchronized on itself.
      */
+    @SuppressWarnings("unchecked")
     transient protected HashMap children;
 
     transient private boolean serializing;



Mime
View raw message