You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2020/01/27 09:48:00 UTC

[jira] [Updated] (GROOVY-6130) weird comparison problem: rethink of single character strings into chars needed?

     [ https://issues.apache.org/jira/browse/GROOVY-6130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King updated GROOVY-6130:
------------------------------
    Summary: weird comparison problem: rethink of single character strings into chars needed?  (was: weird comparison problem)

> weird comparison problem: rethink of single character strings into chars needed?
> --------------------------------------------------------------------------------
>
>                 Key: GROOVY-6130
>                 URL: https://issues.apache.org/jira/browse/GROOVY-6130
>             Project: Groovy
>          Issue Type: Bug
>          Components: groovy-runtime
>    Affects Versions: 2.0.7
>         Environment: grails 2.2.1, but happens in groovy console 2.2.1 as well
>            Reporter: David Marko
>            Priority: Major
>             Fix For: 4.x
>
>
> Integer keyValue = new Integer(53)
> def value = '5'
> println (keyValue == value )
> result is true??? 
> I noticed this because a g:select tag in grails is picking incorrect choices in the list.  
> ON a side note, I noticed someone is using my login of davidm and now it shows me as David Mannicke.  I registered my JIRA account back in March of 2008, and I don't see any way to contact administrators without logging in
> Can someone please either get me a new account or change this back to point to my email address? 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)