[jboss-jira] [JBoss JIRA] (JASSIST-196) Dont use ==, instead use .equals() for strings
Shigeru Chiba (JIRA)
jira-events at lists.jboss.org
Mon Apr 29 05:32:53 EDT 2013
[ https://issues.jboss.org/browse/JASSIST-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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
More information about the jboss-jira
mailing list