Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.5.1
-
Fix Version/s: 1.5.2
-
Component/s: None
-
Labels:None
-
Environment:java 6, Windows XP SP2
-
Number of attachments :
Description
'in' always returns false with an array:
String[] array1 = [ "test1", "test2" ] assert !( "test1" in array1 ) assert !( "test3" in array1 )
Right, arrays should behave like collections.