Revision: 1003
http://stripes.svn.sourceforge.net/stripes/?rev=1003&view=rev
Author: bengunter
Date: 2008-11-07 20:11:22 +0000 (Fri, 07 Nov 2008)
Log Message:
-----------
Log exact path matches like we do the fuzzier matches.
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-11-07 19:52:29 UTC (rev 1002)
+++ trunk/stripes/src/net/sourceforge/stripes/controller/UrlBindingFactory.java
2008-11-07 20:11:22 UTC (rev 1003)
@@ -132,10 +132,13 @@
public UrlBinding getBindingPrototype(String uri) {
// Look for an exact match to the URI first
UrlBinding prototype = pathCache.get(uri);
- if (prototype != null)
+ if (prototype != null) {
+ log.debug("Matched ", uri, " to ", prototype);
return prototype;
- else if (pathConflicts.containsKey(uri))
+ }
+ else if (pathConflicts.containsKey(uri)) {
throw new UrlBindingConflictException(uri, pathConflicts.get(uri));
+ }
// Get all the bindings whose prefix matches the URI
Set<UrlBinding> candidates = null;
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