harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r823121 - in /harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans: PropertyEditorSupport.java XMLEncoder.java
Date Thu, 08 Oct 2009 10:53:30 GMT
Author: odeakin
Date: Thu Oct  8 10:53:30 2009
New Revision: 823121

URL: http://svn.apache.org/viewvc?rev=823121&view=rev
Log:
Remove unread fields.

Modified:
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorSupport.java
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/XMLEncoder.java

Modified: harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorSupport.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorSupport.java?rev=823121&r1=823120&r2=823121&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorSupport.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyEditorSupport.java
Thu Oct  8 10:53:30 2009
@@ -31,8 +31,6 @@
 
     List<PropertyChangeListener> listeners = new ArrayList<PropertyChangeListener>();
 
-    Object oldValue = null;
-
     Object newValue = null;
 
     public PropertyEditorSupport(Object source) {
@@ -71,7 +69,6 @@
     }
 
     public void setValue(Object value) {
-        this.oldValue = this.newValue;
         this.newValue = value;
         firePropertyChange();
     }

Modified: harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/XMLEncoder.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/XMLEncoder.java?rev=823121&r1=823120&r2=823121&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/XMLEncoder.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/XMLEncoder.java
Thu Oct  8 10:53:30 2009
@@ -48,8 +48,6 @@
 	 * Every object written by the encoder has a record.
 	 */
 	private static class Record {
-		boolean born = false;
-
 		// The expression by which the object is created or obtained.
 		Expression exp = null;
 



Mime
View raw message