Revision: 1230
Author: peterdb
Date: 2006-07-25 02:54:18 -0700 (Tue, 25 Jul 2006)
ViewCVS: http://svn.sourceforge.net/spring-rich-c/?rev=1230&view=rev
Log Message:
-----------
Modified Paths:
--------------
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/builder/support/DirtyIndicatorInterceptorFactory.java
Modified:
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/builder/support/DirtyIndicatorInterceptorFactory.java
===================================================================
---
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/builder/support/DirtyIndicatorInterceptorFactory.java
2006-07-24 10:07:55 UTC (rev 1229)
+++
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/builder/support/DirtyIndicatorInterceptorFactory.java
2006-07-25 09:54:18 UTC (rev 1230)
@@ -39,7 +39,8 @@
* top-left corner of the component, and the image's tooltip is set to a
message
* (retrieved with key "dirty.message") such as "{field} has changed, original
value was
* {value}.".
- *
+ *
+ *
* @author Peter De Bruycker
*/
public class DirtyIndicatorInterceptorFactory implements
FormComponentInterceptorFactory {
@@ -119,8 +120,8 @@
if( oldValue == null && newValue instanceof String ) {
// hack for string comparison: null equals empty string
return !ObjectUtils.nullSafeEquals( "", newValue );
- }
-
+ }
+
return !ObjectUtils.nullSafeEquals( oldValue, newValue );
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
spring-rich-c-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs