Revision: 1182
          http://stripes.svn.sourceforge.net/stripes/?rev=1182&view=rev
Author:   bengunter
Date:     2009-10-21 19:25:35 +0000 (Wed, 21 Oct 2009)

Log Message:
-----------
Minor fix for STS-664. Null the setter after logging the error when a bridge 
goes nowhere. (This should not happen, but I have observed it on Java 1.6.0_03.)

Modified Paths:
--------------
    branches/1.5.x/stripes/src/net/sourceforge/stripes/util/ReflectUtil.java

Modified: 
branches/1.5.x/stripes/src/net/sourceforge/stripes/util/ReflectUtil.java
===================================================================
--- branches/1.5.x/stripes/src/net/sourceforge/stripes/util/ReflectUtil.java    
2009-10-21 19:17:10 UTC (rev 1181)
+++ branches/1.5.x/stripes/src/net/sourceforge/stripes/util/ReflectUtil.java    
2009-10-21 19:25:35 UTC (rev 1182)
@@ -575,8 +575,8 @@
                 setter = candidates.get(0);
             }
             else if (candidates.isEmpty()) {
+                log.error("Something has gone awry! I have a bridge to 
nowhere: ", setter);
                 setter = null;
-                log.error("Something has gone awry! I have a bridge to 
nowhere: ", setter);
             }
             else {
                 // Clear the setter and try to find a best guess


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to