Revision: 994
          http://stripes.svn.sourceforge.net/stripes/?rev=994&view=rev
Author:   bengunter
Date:     2008-10-25 03:47:43 +0000 (Sat, 25 Oct 2008)

Log Message:
-----------
STS-617: If a path maps to more than one URL binding, then log those conflicts 
instead of null

Modified Paths:
--------------
    trunk/stripes/src/net/sourceforge/stripes/controller/UrlBindingFactory.java

Modified: 
trunk/stripes/src/net/sourceforge/stripes/controller/UrlBindingFactory.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/controller/UrlBindingFactory.java 
2008-10-24 19:47:45 UTC (rev 993)
+++ trunk/stripes/src/net/sourceforge/stripes/controller/UrlBindingFactory.java 
2008-10-25 03:47:43 UTC (rev 994)
@@ -200,7 +200,7 @@
             }
         }
 
-        log.debug("Matched @", maxIndex, " ", uri, " to ", prototype);
+        log.debug("Matched @", maxIndex, " ", uri, " to ", prototype == null ? 
conflicts : prototype);
         if (prototype == null) {
             throw new UrlBindingConflictException(uri, conflicts);
         }


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to