harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ton...@apache.org
Subject svn commit: r561229 - in /harmony/enhanced/classlib/trunk/modules/beans/src: main/java/java/beans/ test/java-internal/java/beans/
Date Tue, 31 Jul 2007 03:34:38 GMT
Author: tonywu
Date: Mon Jul 30 20:34:36 2007
New Revision: 561229

URL: http://svn.apache.org/viewvc?view=rev&rev=561229
Log:
rename 5 persistence delegate classes, no functional change

Added:
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/ClassPersistenceDelegate.java
      - copied, changed from r558967, harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_ClassPersistenceDelegate.java
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/FieldPersistenceDelegate.java
      - copied, changed from r558967, harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_FieldPersistenceDelegate.java
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/MethodPersistenceDelegate.java
      - copied, changed from r558967, harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_MethodPersistenceDelegate.java
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/ProxyPersistenceDelegate.java
      - copied, changed from r558967, harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_ProxyPersistenceDelegate.java
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/StringPersistenceDelegate.java
      - copied, changed from r558967, harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_StringPersistenceDelegate.java
Removed:
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_ClassPersistenceDelegate.java
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_StringPersistenceDelegate.java
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_FieldPersistenceDelegate.java
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_MethodPersistenceDelegate.java
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_ProxyPersistenceDelegate.java
Modified:
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Encoder.java
    harmony/enhanced/classlib/trunk/modules/beans/src/test/java-internal/java/beans/ClassPersistenceDelegateTest.java
    harmony/enhanced/classlib/trunk/modules/beans/src/test/java-internal/java/beans/StringPersistenceDelegateTest.java

Copied: harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/ClassPersistenceDelegate.java
(from r558967, harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_ClassPersistenceDelegate.java)
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/ClassPersistenceDelegate.java?view=diff&rev=561229&p1=harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_ClassPersistenceDelegate.java&r1=558967&p2=harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/ClassPersistenceDelegate.java&r2=561229
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_ClassPersistenceDelegate.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/ClassPersistenceDelegate.java
Mon Jul 30 20:34:36 2007
@@ -19,7 +19,7 @@
 
 import java.lang.reflect.Field;
 
-class java_lang_ClassPersistenceDelegate extends PersistenceDelegate {
+class ClassPersistenceDelegate extends PersistenceDelegate {
     @Override
     protected Expression instantiate(Object oldInstance, Encoder out) {
         Class<?> value = (Class) oldInstance;

Modified: harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Encoder.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Encoder.java?view=diff&rev=561229&r1=561228&r2=561229
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Encoder.java (original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Encoder.java Mon
Jul 30 20:34:36 2007
@@ -55,7 +55,7 @@
 
 	private static final ArrayPersistenceDelegate arrayPD = new ArrayPersistenceDelegate();
 
-	private static final java_lang_reflect_ProxyPersistenceDelegate proxyPD = new java_lang_reflect_ProxyPersistenceDelegate();
+	private static final ProxyPersistenceDelegate proxyPD = new ProxyPersistenceDelegate();
     
     private static final NullPersistenceDelegate nullPD = new NullPersistenceDelegate();
 
@@ -81,11 +81,11 @@
 		delegates.put(Long.class, ppd);
 		delegates.put(Short.class, ppd);
 
-		delegates.put(Class.class, new java_lang_ClassPersistenceDelegate());
-		delegates.put(Field.class, new java_lang_reflect_FieldPersistenceDelegate());
-		delegates.put(Method.class, new java_lang_reflect_MethodPersistenceDelegate());
-		delegates.put(String.class, new java_lang_StringPersistenceDelegate());
-		delegates.put(Proxy.class, new java_lang_reflect_ProxyPersistenceDelegate());
+		delegates.put(Class.class, new ClassPersistenceDelegate());
+		delegates.put(Field.class, new FieldPersistenceDelegate());
+		delegates.put(Method.class, new MethodPersistenceDelegate());
+		delegates.put(String.class, new StringPersistenceDelegate());
+		delegates.put(Proxy.class, new ProxyPersistenceDelegate());
         
         delegates.put(Choice.class, new AwtChoicePersistenceDelegate());
         delegates.put(Color.class, new AwtColorPersistenceDelegate());

Copied: harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/FieldPersistenceDelegate.java
(from r558967, harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_FieldPersistenceDelegate.java)
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/FieldPersistenceDelegate.java?view=diff&rev=561229&p1=harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_FieldPersistenceDelegate.java&r1=558967&p2=harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/FieldPersistenceDelegate.java&r2=561229
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_FieldPersistenceDelegate.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/FieldPersistenceDelegate.java
Mon Jul 30 20:34:36 2007
@@ -22,7 +22,7 @@
 /**
  * This is a persistence delegate for the {@link java.lang.reflect.Field} class.
  */
-class java_lang_reflect_FieldPersistenceDelegate extends PersistenceDelegate {
+class FieldPersistenceDelegate extends PersistenceDelegate {
     @Override
     protected Expression instantiate(Object oldInstance, Encoder out) {
         // should not be null or have a type other than Field

Copied: harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/MethodPersistenceDelegate.java
(from r558967, harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_MethodPersistenceDelegate.java)
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/MethodPersistenceDelegate.java?view=diff&rev=561229&p1=harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_MethodPersistenceDelegate.java&r1=558967&p2=harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/MethodPersistenceDelegate.java&r2=561229
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_MethodPersistenceDelegate.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/MethodPersistenceDelegate.java
Mon Jul 30 20:34:36 2007
@@ -22,7 +22,7 @@
 /**
  * Persistence delegate for {@link java.lang.reflect.Method} class.
  */
-class java_lang_reflect_MethodPersistenceDelegate extends PersistenceDelegate {
+class MethodPersistenceDelegate extends PersistenceDelegate {
     @Override
     protected Expression instantiate(Object oldInstance, Encoder out) {
         // should not be null or have a type other than Method

Copied: harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/ProxyPersistenceDelegate.java
(from r558967, harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_ProxyPersistenceDelegate.java)
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/ProxyPersistenceDelegate.java?view=diff&rev=561229&p1=harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_ProxyPersistenceDelegate.java&r1=558967&p2=harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/ProxyPersistenceDelegate.java&r2=561229
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_reflect_ProxyPersistenceDelegate.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/ProxyPersistenceDelegate.java
Mon Jul 30 20:34:36 2007
@@ -20,7 +20,7 @@
 import java.lang.reflect.InvocationHandler;
 import java.lang.reflect.Proxy;
 
-class java_lang_reflect_ProxyPersistenceDelegate extends DefaultPersistenceDelegate {
+class ProxyPersistenceDelegate extends DefaultPersistenceDelegate {
     @Override
     protected Expression instantiate(Object oldInstance, Encoder out) {
         assert oldInstance instanceof Proxy : oldInstance;

Copied: harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/StringPersistenceDelegate.java
(from r558967, harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_StringPersistenceDelegate.java)
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/StringPersistenceDelegate.java?view=diff&rev=561229&p1=harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_StringPersistenceDelegate.java&r1=558967&p2=harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/StringPersistenceDelegate.java&r2=561229
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/java_lang_StringPersistenceDelegate.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/StringPersistenceDelegate.java
Mon Jul 30 20:34:36 2007
@@ -17,7 +17,7 @@
 
 package java.beans;
 
-class java_lang_StringPersistenceDelegate extends PersistenceDelegate {
+class StringPersistenceDelegate extends PersistenceDelegate {
     @Override
     protected Expression instantiate(Object oldInstance, Encoder out) {
         String value = (String) oldInstance;

Modified: harmony/enhanced/classlib/trunk/modules/beans/src/test/java-internal/java/beans/ClassPersistenceDelegateTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/test/java-internal/java/beans/ClassPersistenceDelegateTest.java?view=diff&rev=561229&r1=561228&r2=561229
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/test/java-internal/java/beans/ClassPersistenceDelegateTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/test/java-internal/java/beans/ClassPersistenceDelegateTest.java
Mon Jul 30 20:34:36 2007
@@ -19,7 +19,7 @@
 
 import java.beans.Encoder;
 import java.beans.Expression;
-import java.beans.java_lang_ClassPersistenceDelegate;
+import java.beans.ClassPersistenceDelegate;
 
 import junit.framework.TestCase;
 
@@ -28,12 +28,12 @@
  */
 public class ClassPersistenceDelegateTest extends TestCase {
 
-    private java_lang_ClassPersistenceDelegate pd = null;
+    private ClassPersistenceDelegate pd = null;
 
     @Override
     protected void setUp() throws Exception {
         super.setUp();
-        pd = new java_lang_ClassPersistenceDelegate();
+        pd = new ClassPersistenceDelegate();
     }
 
     public void testMutates() {

Modified: harmony/enhanced/classlib/trunk/modules/beans/src/test/java-internal/java/beans/StringPersistenceDelegateTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/test/java-internal/java/beans/StringPersistenceDelegateTest.java?view=diff&rev=561229&r1=561228&r2=561229
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/test/java-internal/java/beans/StringPersistenceDelegateTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/test/java-internal/java/beans/StringPersistenceDelegateTest.java
Mon Jul 30 20:34:36 2007
@@ -19,7 +19,7 @@
 
 import java.beans.Encoder;
 import java.beans.Expression;
-import java.beans.java_lang_StringPersistenceDelegate;
+import java.beans.StringPersistenceDelegate;
 
 import junit.framework.TestCase;
 
@@ -28,12 +28,12 @@
  */
 public class StringPersistenceDelegateTest extends TestCase {
 
-    private java_lang_StringPersistenceDelegate pd = null;
+    private StringPersistenceDelegate pd = null;
 
     @Override
     protected void setUp() throws Exception {
         super.setUp();
-        pd = new java_lang_StringPersistenceDelegate();
+        pd = new StringPersistenceDelegate();
     }
 
     public void testMutates() {



Mime
View raw message