[
https://issues.jboss.org/browse/JASSIST-196?page=com.atlassian.jira.plugi...
]
Shigeru Chiba resolved JASSIST-196.
-----------------------------------
Fix Version/s: 3.17.1-GA
Resolution: Rejected
The use of == is not a bug but specification.
Please see the javadoc of that method javassist.compiler.AccessorMaker#getMethodAccessor.
Dont use ==, instead use .equals() for strings
----------------------------------------------
Key: JASSIST-196
URL:
https://issues.jboss.org/browse/JASSIST-196
Project: Javassist
Issue Type: Quality Risk
Affects Versions: 3.17.1-GA
Reporter: oliver z
Assignee: Shigeru Chiba
Fix For: 3.17.1-GA
Original Estimate: 1 hour
Remaining Estimate: 1 hour
I just used a code quality tool to scan my application which uses javassist.
It is complaining about a few "==" instead of .equals().
Occurance at least in: AccessorMaker.java:127
Would be nice if this could be fixed because as its a very little change.
Thanks!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira