harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r410510 - /incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/
Date Wed, 31 May 2006 12:51:10 GMT
Author: tellison
Date: Wed May 31 05:51:09 2006
New Revision: 410510

URL: http://svn.apache.org/viewvc?rev=410510&view=rev
Log:
Generics uplift in java.beans

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/BeanDescriptor.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Beans.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Encoder.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/FeatureDescriptor.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/IndexedPropertyDescriptor.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Introspector.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PersistenceDelegate.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyDescriptor.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorManager.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorSupport.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/SimpleBeanInfo.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Statement.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/BeanDescriptor.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/BeanDescriptor.java?rev=410510&r1=410509&r2=410510&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/BeanDescriptor.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/BeanDescriptor.java
Wed May 31 05:51:09 2006
@@ -33,7 +33,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public BeanDescriptor(Class beanClass, Class customizerClass) {
+    public BeanDescriptor(Class<?> beanClass, Class<?> customizerClass) {
         super();
 
         if (beanClass == null) {
@@ -47,7 +47,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public BeanDescriptor(Class beanClass) {
+    public BeanDescriptor(Class<?> beanClass) {
         super();
 
         if (beanClass == null) {
@@ -60,14 +60,14 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public Class getCustomizerClass() {
+    public Class<?> getCustomizerClass() {
         return customizerClass;
     }
 
     /**
      * @com.intel.drl.spec_ref
      */
-    public Class getBeanClass() {
+    public Class<?> getBeanClass() {
         return beanClass;
     }
     

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Beans.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Beans.java?rev=410510&r1=410509&r2=410510&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Beans.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Beans.java
Wed May 31 05:51:09 2006
@@ -136,14 +136,14 @@
     /**
 	 * @com.intel.drl.spec_ref
 	 */
-    public static Object getInstanceOf(Object bean, Class targetType) {
+    public static Object getInstanceOf(Object bean, Class<?> targetType) {
         return bean;            
     }
 
     /**
 	 * @com.intel.drl.spec_ref
 	 */
-    public static boolean isInstanceOf(Object bean, Class targetType) {
+    public static boolean isInstanceOf(Object bean, Class<?> targetType) {
         if (targetType == null) {
             return false;
         } else {
@@ -213,7 +213,7 @@
         this.cls = cls;
     }
     
-    protected Class resolveClass(ObjectStreamClass desc)
+    protected Class<?> resolveClass(ObjectStreamClass desc)
         throws IOException, ClassNotFoundException
     {
         String className = desc.getName();

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Encoder.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Encoder.java?rev=410510&r1=410509&r2=410510&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Encoder.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Encoder.java
Wed May 31 05:51:09 2006
@@ -35,10 +35,11 @@
 public class Encoder {
     
     private ExceptionListener exceptionListener = null;
-    private HashMap persistenceDelegates = new HashMap();
+    private HashMap<Class, PersistenceDelegate> persistenceDelegates =
+        new HashMap<Class, PersistenceDelegate>();
     
-    Vector roots = new Vector();
-    HashMap nodes = new HashMap();
+    Vector<Object> roots = new Vector<Object>();
+    HashMap<Object, ObjectNode> nodes = new HashMap<Object, ObjectNode>();
     
     /**
      * @com.intel.drl.spec_ref
@@ -74,7 +75,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public PersistenceDelegate getPersistenceDelegate(Class type) {
+    public PersistenceDelegate getPersistenceDelegate(Class<?> type) {
         PersistenceDelegate result =
                 (PersistenceDelegate) persistenceDelegates.get(type);
         
@@ -89,7 +90,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public void setPersistenceDelegate(Class type,
+    public void setPersistenceDelegate(Class<?> type,
             PersistenceDelegate persistenceDelegate) {
         persistenceDelegates.put(type, persistenceDelegate);
     }

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java?rev=410510&r1=410509&r2=410510&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/EventSetDescriptor.java
Wed May 31 05:51:09 2006
@@ -35,7 +35,8 @@
     private String eventSetName = null;
     
     private Class listenerType = null;
-    private ArrayList listenerMethodDescriptors = new ArrayList();
+    private ArrayList<MethodDescriptor> listenerMethodDescriptors =
+        new ArrayList<MethodDescriptor>();
     
     private Method getListenerMethod = null;
     private Method addListenerMethod = null;
@@ -47,8 +48,8 @@
     /**
      * @com.intel.drl.spec_ref
     */
-    public EventSetDescriptor(Class sourceClass, String eventSetName,
-        Class listenerType, String listenerMethodName
+    public EventSetDescriptor(Class<?> sourceClass, String eventSetName,
+        Class<?> listenerType, String listenerMethodName
     ) throws IntrospectionException {
         
         super();
@@ -82,8 +83,8 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public EventSetDescriptor(Class sourceClass, String eventSetName,
-        Class listenerType, String[] listenerMethodNames,
+    public EventSetDescriptor(Class<?> sourceClass, String eventSetName,
+        Class<?> listenerType, String[] listenerMethodNames,
         String addListenerMethodName, String removeListenerMethodName
     ) throws IntrospectionException {
         super();
@@ -119,9 +120,9 @@
      * @com.intel.drl.spec_ref
      */
     public EventSetDescriptor(
-            Class sourceClass,
+            Class<?> sourceClass,
             String eventSetName,
-            Class listenerType,
+            Class<?> listenerType,
             String[] listenerMethodNames,
             String addListenerMethodName,
             String removeListenerMethodName,
@@ -162,7 +163,7 @@
      */
     public EventSetDescriptor(
             String eventSetName,
-            Class listenerType,
+            Class<?> listenerType,
             Method[] listenerMethods,
             Method addListenerMethod,
             Method removeListenerMethod) throws IntrospectionException {
@@ -195,7 +196,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-   public EventSetDescriptor(String eventSetName, Class listenerType,
+   public EventSetDescriptor(String eventSetName, Class<?> listenerType,
         Method[] listenerMethods, Method addListenerMethod,
         Method removeListenerMethod, Method getListenerMethod
     ) throws IntrospectionException {
@@ -230,7 +231,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public EventSetDescriptor(String eventSetName, Class listenerType,
+    public EventSetDescriptor(String eventSetName, Class<?> listenerType,
         MethodDescriptor[] listenerMethodDescriptors,
         Method addListenerMethod, Method removeListenerMethod
     ) throws IntrospectionException {
@@ -313,7 +314,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public Class getListenerType() {
+    public Class<?> getListenerType() {
         return listenerType;
     }
 

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/FeatureDescriptor.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/FeatureDescriptor.java?rev=410510&r1=410509&r2=410510&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/FeatureDescriptor.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/FeatureDescriptor.java
Wed May 31 05:51:09 2006
@@ -32,7 +32,7 @@
 
 public class FeatureDescriptor {
     
-    private HashMap values = new HashMap();
+    private HashMap<String, Object> values = new HashMap<String, Object>();
     boolean preferred, hidden, expert;
     String shortDescription = null;
     String name = null;

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/IndexedPropertyDescriptor.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/IndexedPropertyDescriptor.java?rev=410510&r1=410509&r2=410510&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/IndexedPropertyDescriptor.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/IndexedPropertyDescriptor.java
Wed May 31 05:51:09 2006
@@ -38,7 +38,7 @@
      */
     public IndexedPropertyDescriptor(
             String propertyName,
-            Class beanClass,
+            Class<?> beanClass,
             String getterName,
             String setterName,
             String indexedGetterName,
@@ -65,7 +65,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public IndexedPropertyDescriptor(String propertyName, Class beanClass)
+    public IndexedPropertyDescriptor(String propertyName, Class<?> beanClass)
             throws IntrospectionException {
         super(propertyName, beanClass);        
         
@@ -187,7 +187,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public Class getIndexedPropertyType() {
+    public Class<?> getIndexedPropertyType() {
         Class result = null;
         if (indexedGetter != null) {
             result = indexedGetter.getReturnType();

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Introspector.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Introspector.java?rev=410510&r1=410509&r2=410510&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Introspector.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Introspector.java
Wed May 31 05:51:09 2006
@@ -68,7 +68,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public static BeanInfo getBeanInfo(Class beanClass, int flags)
+    public static BeanInfo getBeanInfo(Class<?> beanClass, int flags)
         throws IntrospectionException 
     {
         switch (flags) {
@@ -87,7 +87,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public static BeanInfo getBeanInfo(Class beanClass)
+    public static BeanInfo getBeanInfo(Class<?> beanClass)
             throws IntrospectionException {
         return getBeanInfo(beanClass, null, false, false);    
     }
@@ -95,7 +95,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public static BeanInfo getBeanInfo(Class beanClass, Class stopClass)
+    public static BeanInfo getBeanInfo(Class<?> beanClass, Class<?> stopClass)
        throws IntrospectionException
     {
         return getBeanInfo(beanClass, stopClass, false, false);
@@ -124,7 +124,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public static void flushFromCaches(Class clz) {
+    public static void flushFromCaches(Class<?> clz) {
         removeBeanInfoClassFromCache(clz);
     }
 
@@ -250,10 +250,10 @@
             Class stopClass,
             boolean ignoreBeanClassBeanInfo,
             boolean ignoreSuperClassBeanInfo) {
-        ArrayList beanInfoDatas = (ArrayList) beanInfos.get(
+        ArrayList<BeanInfoData> beanInfoDatas = beanInfos.get(
                 beanClass.getName());
         if(beanInfoDatas == null) {
-            beanInfoDatas = new ArrayList();
+            beanInfoDatas = new ArrayList<BeanInfoData>();
             beanInfos.put(beanClass.getName(), beanInfoDatas);
         }
         beanInfoDatas.add(new BeanInfoData(stopClass, ignoreBeanClassBeanInfo,
@@ -271,7 +271,8 @@
     // private fields
 
     private static String[] path = {"sun.beans.infos"};
-    private static HashMap beanInfos = new HashMap();
+    private static HashMap<String, ArrayList<BeanInfoData>> beanInfos =
+        new HashMap<String, ArrayList<BeanInfoData>>();
 
 }
 
@@ -336,11 +337,11 @@
                 ArrayList beanClassMethodsArrayList = getPublicMethods(
                         beanClass);
                 
-                ArrayList setters = new ArrayList();
-                ArrayList getters = new ArrayList();
-                ArrayList booleanGetters = new ArrayList();
-                ArrayList indexedSetters = new ArrayList();
-                ArrayList indexedGetters = new ArrayList();
+                ArrayList<Method> setters = new ArrayList<Method>();
+                ArrayList<Method> getters = new ArrayList<Method>();
+                ArrayList<Method> booleanGetters = new ArrayList<Method>();
+                ArrayList<Method> indexedSetters = new ArrayList<Method>();
+                ArrayList<Method> indexedGetters = new ArrayList<Method>();
                 
                 Iterator iterator = beanClassMethodsArrayList.iterator();
                 while (iterator.hasNext()) {
@@ -384,7 +385,7 @@
 
     public MethodDescriptor[] getMethodDescriptors() {
         if(methodDescriptors == null) {
-            ArrayList result = new ArrayList();
+            ArrayList<MethodDescriptor> result = new ArrayList<MethodDescriptor>();
             ArrayList beanClassMethodsArrayList = getPublicMethods(beanClass);
             
             Iterator iterator = beanClassMethodsArrayList.iterator();
@@ -405,7 +406,8 @@
 
     public EventSetDescriptor[] getEventSetDescriptors() {
         if(eventSetDescriptors == null) {
-            HashMap result = new HashMap();
+            HashMap<String, EventSetDescriptor> result =
+                new HashMap<String, EventSetDescriptor>();
             ArrayList beanClassMethodsArrayList = getPublicMethods(beanClass);
             
             Iterator iterator = beanClassMethodsArrayList.iterator();
@@ -467,7 +469,7 @@
                             }
                             
                             Method[] methods = listenerType.getMethods();
-                            Vector listenerMethodsVec = new Vector();
+                            Vector<Method> listenerMethodsVec = new Vector<Method>();
                             for(int i = 0; i < methods.length; ++i) {
                                 Class[] listenerMethodParams =
                                     methods[i].getParameterTypes();
@@ -642,7 +644,7 @@
     }
 
     private static ArrayList getPublicMethods(Class theClass) {
-        ArrayList result = new ArrayList();
+        ArrayList<Method> result = new ArrayList<Method>();
 
         Method[] beanClassMethods = theClass.getDeclaredMethods();
         for (int i = 0; i < beanClassMethods.length; ++i) {
@@ -655,7 +657,7 @@
     }
     
     private void addPropertyDescriptorsFromMethodList(
-            HashMap hmPropertyDescriptors,
+            HashMap<String, PropertyDescriptor> hmPropertyDescriptors,
             ArrayList methods,
             boolean checkExisting) throws Exception
     {
@@ -677,7 +679,7 @@
     }
     
     private void addIndexedPropertyDescriptorsFromMethodList(
-            HashMap hmPropertyDescriptors,
+            HashMap<String, IndexedPropertyDescriptor> hmPropertyDescriptors,
             ArrayList methods,
             boolean checkExisting) throws Exception
     {

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PersistenceDelegate.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PersistenceDelegate.java?rev=410510&r1=410509&r2=410510&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PersistenceDelegate.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PersistenceDelegate.java
Wed May 31 05:51:09 2006
@@ -37,7 +37,7 @@
      * @com.intel.drl.spec_ref
      */
     protected void initialize(
-            Class type, Object oldInstance, Object newInstance, Encoder out) {
+            Class<?> type, Object oldInstance, Object newInstance, Encoder out) {
         if((out != null) && (type != null)) {
             PersistenceDelegate pd = out.getPersistenceDelegate(
                     type.getSuperclass());

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyDescriptor.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyDescriptor.java?rev=410510&r1=410509&r2=410510&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyDescriptor.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyDescriptor.java
Wed May 31 05:51:09 2006
@@ -45,7 +45,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public PropertyDescriptor(String propertyName, Class beanClass,
+    public PropertyDescriptor(String propertyName, Class<?> beanClass,
             String getterName, String setterName) throws IntrospectionException {
 
         super();
@@ -88,7 +88,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public PropertyDescriptor(String propertyName, Class beanClass)
+    public PropertyDescriptor(String propertyName, Class<?> beanClass)
             throws IntrospectionException {
         super();
         if (beanClass == null) {
@@ -229,14 +229,14 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public void setPropertyEditorClass(Class propertyEditorClass) {
+    public void setPropertyEditorClass(Class<?> propertyEditorClass) {
         this.propertyEditorClass = propertyEditorClass;
     }
 
     /**
      * @com.intel.drl.spec_ref
      */
-    public Class getPropertyType() {
+    public Class<?> getPropertyType() {
         Class result = null;
         if (getter != null) {
             result = getter.getReturnType();
@@ -250,7 +250,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public Class getPropertyEditorClass() {
+    public Class<?> getPropertyEditorClass() {
         return propertyEditorClass;
     }
 
@@ -299,7 +299,7 @@
     
     Method[] findMethods(Class aClass, String methodName) {
         Method[] allMethods = aClass.getMethods();
-        Vector matchedMethods = new Vector();
+        Vector<Method> matchedMethods = new Vector<Method>();
         for (int i = 0; i < allMethods.length; ++i) {
             Method method = allMethods[i];
             if (method.getName().equals(methodName)) {

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorManager.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorManager.java?rev=410510&r1=410509&r2=410510&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorManager.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorManager.java
Wed May 31 05:51:09 2006
@@ -30,7 +30,7 @@
 public class PropertyEditorManager {
     
     private static String[] path = {"org.apache.harmony.beans.editors"};
-    private static HashMap registeredEditors = new HashMap();
+    private static HashMap<Class, Class> registeredEditors = new HashMap<Class,
Class>();
     
     /**
      */
@@ -40,7 +40,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public static void registerEditor(Class targetType, Class editorClass) {
+    public static void registerEditor(Class<?> targetType, Class<?> editorClass)
{
         if (targetType == null) {
             throw new NullPointerException();
         }
@@ -59,7 +59,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    public static synchronized PropertyEditor findEditor(Class targetType) {
+    public static synchronized PropertyEditor findEditor(Class<?> targetType) {
         if (targetType == null) {
             throw new NullPointerException();
         }

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorSupport.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorSupport.java?rev=410510&r1=410509&r2=410510&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorSupport.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorSupport.java
Wed May 31 05:51:09 2006
@@ -34,14 +34,14 @@
 public class PropertyEditorSupport implements PropertyEditor {
     
     Object source = null;
-    ArrayList listeners = new ArrayList();
+    ArrayList<PropertyChangeListener> listeners = new ArrayList<PropertyChangeListener>();
     Object oldValue = null;
     Object newValue = null;
 
     /**
      * @com.intel.drl.spec_ref
      */
-    protected PropertyEditorSupport(Object source) {
+    public PropertyEditorSupport(Object source) {
         if( source == null ) {
             throw new NullPointerException("source is null");
         }
@@ -51,7 +51,7 @@
     /**
      * @com.intel.drl.spec_ref
      */
-    protected PropertyEditorSupport() {
+    public PropertyEditorSupport() {
     }
 
     /**

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/SimpleBeanInfo.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/SimpleBeanInfo.java?rev=410510&r1=410509&r2=410510&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/SimpleBeanInfo.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/SimpleBeanInfo.java
Wed May 31 05:51:09 2006
@@ -50,7 +50,7 @@
                 resourceName);
         
         if(is != null) {
-            ArrayList byteArrayList = new ArrayList();
+            ArrayList<Byte> byteArrayList = new ArrayList<Byte>();
             
             byte b;
             try {

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Statement.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Statement.java?rev=410510&r1=410509&r2=410510&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Statement.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Statement.java
Wed May 31 05:51:09 2006
@@ -124,7 +124,7 @@
             } else {
                 final Method method = findMethod();
                 
-                AccessController.doPrivileged(new PrivilegedAction() {
+                AccessController.doPrivileged(new PrivilegedAction<Object>() {
                     public Object run() {
                         method.setAccessible(true);
                         return null;



Mime
View raw message