[ https://issues.apache.org/jira/browse/GROOVY-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King updated GROOVY-2456: ------------------------------ Attachment: (was: originalmail.eml) > Support in-Keyword for Strings > ------------------------------ > > Key: GROOVY-2456 > URL: https://issues.apache.org/jira/browse/GROOVY-2456 > Project: Groovy > Issue Type: New Feature > Components: groovy-jdk > Affects Versions: 1.5.1 > Reporter: Paul King > Priority: Major > Labels: breaking, breaking_change > Attachments: deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, > deliveryreport.txt, deliveryreport.txt, deliveryreport.txt, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml, originalmail.eml, > originalmail.eml, originalmail.eml, originalmail.eml > > > assert 'abc'.contains('a') //1 > assert 'a' in ('abc'as List) //2 > assert 'a' in 'abc' //3 this breaks > You ask a string if a substring is contained in it (//1). You can do that > with the in-Keyword with Lists (//2), too. But you can't do this with the > in-Keyword with Strings. It would be a consistent behaviour from Groovy if > you could do //3. -- This message was sent by Atlassian Jira (v8.20.10#820010)