labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simo...@apache.org
Subject svn commit: r834827 - /labs/magma/trunk/foundation-beans/src/main/java/org/apache/magma/beans/BeanHandler.java
Date Wed, 11 Nov 2009 10:03:58 GMT
Author: simoneg
Date: Wed Nov 11 10:03:57 2009
New Revision: 834827

URL: http://svn.apache.org/viewvc?rev=834827&view=rev
Log:
Optimization : due to lazy loading introduced in validation and conversion, there is no need
to load stuff during the rollback phase.

Modified:
    labs/magma/trunk/foundation-beans/src/main/java/org/apache/magma/beans/BeanHandler.java

Modified: labs/magma/trunk/foundation-beans/src/main/java/org/apache/magma/beans/BeanHandler.java
URL: http://svn.apache.org/viewvc/labs/magma/trunk/foundation-beans/src/main/java/org/apache/magma/beans/BeanHandler.java?rev=834827&r1=834826&r2=834827&view=diff
==============================================================================
--- labs/magma/trunk/foundation-beans/src/main/java/org/apache/magma/beans/BeanHandler.java
(original)
+++ labs/magma/trunk/foundation-beans/src/main/java/org/apache/magma/beans/BeanHandler.java
Wed Nov 11 10:03:57 2009
@@ -126,6 +126,7 @@
 	public void rollback() {
 		this.values.clear();
 		this.changed.clear();
+		/*
 		Set<String> names = data.getPropertyNames();
 		for (String name : names) {
 			PropertyInfo property = data.getProperty(name);
@@ -140,6 +141,7 @@
 				values.put(name, val);
 			}
 		}
+		*/
 	}
 	
 	/**



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message