History
Log In
h
ome
b
rowse project
f
ind issues
Q
uick Search:
Learn more about
Quick Search
Issue Details
(
XML
|
Word
|
Printable
)
Key:
GROOVY-2452
Type:
Bug
Status:
Closed
Resolution:
Fixed
Priority:
Minor
Assignee:
Paul King
Reporter:
René de Bloois
Votes:
0
Watchers:
1
Operations
If you were
logged in
you would be able to see more operations.
groovy
'in' with an array always returns false
Created:
27/Dec/07 08:55 AM
Updated:
08/Feb/08 01:26 AM
Component/s:
None
Affects Version/s:
1.5.1
Fix Version/s:
1.5.2
Time Tracking:
Not Specified
Environment:
java 6, Windows XP SP2
Description
« Hide
'in' always returns false with an array:
String
[] array1 = [
"test1"
,
"test2"
]
assert
!(
"test1"
in array1 )
assert
!(
"test3"
in array1 )
Description
'in' always returns false with an array:
String
[] array1 = [
"test1"
,
"test2"
]
assert
!(
"test1"
in array1 )
assert
!(
"test3"
in array1 )
Show »
All
Comments
Work Log
Change History
Sort Order:
[
Permalink
|
« Hide
]
Guillaume Laforge
added a comment -
27/Dec/07 09:14 AM
Right, arrays should behave like collections.
[
Show »
]
Guillaume Laforge
added a comment -
27/Dec/07 09:14 AM
Right, arrays should behave like collections.
[
Permalink
|
« Hide
]
Paul King
added a comment -
28/Dec/07 09:02 PM
now isCase(Object, value) is array aware
[
Show »
]
Paul King
added a comment -
28/Dec/07 09:02 PM
now isCase(Object, value) is array aware
[
Permalink
|
« Hide
]
Paul King
added a comment -
08/Feb/08 01:26 AM
close off release 1.5.4
[
Show »
]
Paul King
added a comment -
08/Feb/08 01:26 AM
close off release 1.5.4