History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-21495
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Peter Gromov
Reporter: Taras Tielkes
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

spring + aop: "Create method" quickfix for <aop:before> / <aop:after> creates signature with confusing parameter name

Created: 22 Sep 07 21:53   Updated: 06 Dec 07 18:52
Component/s: J2EE.Spring
Fix Version/s: Selena 7.0.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,294
Fixed in build: 7,506
Severity: Low


 Description  « Hide
<aop:before method="before" pointcut-ref="myPointcut"/>

Method "before()" does not exist on the bean (referenced by containing <aop:aspect> element.
Invoking the provided "Create Method..." QuickFix generates a method wit the following signature:

public void before(JoinPoint pjp) throws Throwable {
}

"pjp" is more common for type "ProceedingJoinPoint" - used by "around" advice.
In this case simply "jp" would me more consistent.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.