Revision: 1313
http://stripes.svn.sourceforge.net/stripes/?rev=1313&view=rev
Author: bengunter
Date: 2010-11-10 15:47:03 +0000 (Wed, 10 Nov 2010)
Log Message:
-----------
Applied fix for STS-740 from 1.5.x branch
Modified Paths:
--------------
trunk/stripes/src/net/sourceforge/stripes/controller/BeforeAfterMethodInterceptor.java
Modified:
trunk/stripes/src/net/sourceforge/stripes/controller/BeforeAfterMethodInterceptor.java
===================================================================
---
trunk/stripes/src/net/sourceforge/stripes/controller/BeforeAfterMethodInterceptor.java
2010-11-10 15:45:23 UTC (rev 1312)
+++
trunk/stripes/src/net/sourceforge/stripes/controller/BeforeAfterMethodInterceptor.java
2010-11-10 15:47:03 UTC (rev 1313)
@@ -196,8 +196,7 @@
FilterMethods filterMethods = filterMethodsCache.get(beanClass);
if (filterMethods == null) {
filterMethods = new FilterMethods();
- filterMethodsCache.put(beanClass, filterMethods);
-
+
// Look for @Before and @After annotations on the
methods in the ActionBean class
Collection<Method> methods =
ReflectUtil.getMethods(beanClass);
for (Method method : methods) {
@@ -239,6 +238,8 @@
}
}
}
+
+ filterMethodsCache.put(beanClass, filterMethods);
}
return filterMethods;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development