Skip to content

javadoc - typo in Cglib2AopProxy [SPR-3208] #7894

Closed
@spring-projects-issues

Description

@spring-projects-issues

Claus Ibsen opened SPR-3208 and commented

I was reading some of the jira changes about AOP and in #6924

There was a post to this source code:
http://springframework.cvs.sourceforge.net/springframework/spring/src/org/springframework/aop/framework/Cglib2AopProxy.java?revision=1.65&view=markup

#1:
I noticed a type in the javadoc for line 558
"Interceptor used specifcally for advised methods on a frozen, static proxy."

where specifcally is the typo. It should be: specifically

#2:
PS: On line 301 the hashmap is not initialized with a length
this.fixedInterceptorMap = new HashMap();

Could this be changed to:
this.fixedInterceptorMap = new HashMap(methods.length);


Affects: 2.0.2

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions