Revision: 1144
http://stripes.svn.sourceforge.net/stripes/?rev=1144&view=rev
Author: fdaoud
Date: 2009-09-16 21:21:18 +0000 (Wed, 16 Sep 2009)
Log Message:
-----------
Fix for STS-677
Modified Paths:
--------------
trunk/stripes/src/net/sourceforge/stripes/controller/AnnotatedClassActionResolver.java
Modified:
trunk/stripes/src/net/sourceforge/stripes/controller/AnnotatedClassActionResolver.java
===================================================================
---
trunk/stripes/src/net/sourceforge/stripes/controller/AnnotatedClassActionResolver.java
2009-09-16 21:19:51 UTC (rev 1143)
+++
trunk/stripes/src/net/sourceforge/stripes/controller/AnnotatedClassActionResolver.java
2009-09-16 21:21:18 UTC (rev 1144)
@@ -144,14 +144,16 @@
// Put the event->method mapping for the class into the set of
mappings
this.eventMappings.put(clazz, classMappings);
- // Print out the event mappings nicely
- for (Map.Entry<String, Method> entry : classMappings.entrySet()) {
- String event = entry.getKey();
- Method handler = entry.getValue();
- boolean isDefault = DEFAULT_HANDLER_KEY.equals(event);
+ if (log.getRealLog().isDebugEnabled()) {
+ // Print out the event mappings nicely
+ for (Map.Entry<String, Method> entry :
classMappings.entrySet()) {
+ String event = entry.getKey();
+ Method handler = entry.getValue();
+ boolean isDefault = DEFAULT_HANDLER_KEY.equals(event);
- log.debug("Bound: ", clazz.getSimpleName(), ".",
handler.getName(), "() ==> ",
- binding, isDefault ? "" : "?" + event);
+ log.debug("Bound: ", clazz.getSimpleName(), ".",
handler.getName(), "() ==> ",
+ binding, isDefault ? "" : "?" + event);
+ }
}
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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/devconf
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development