File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ final synchronized public ISeq seq() {
35
35
}
36
36
37
37
final synchronized public AStream stream () throws Exception {
38
- if (seq == NO_SEQ )
38
+ // if (seq == NO_SEQ)
39
39
return this ;
40
- return RT .stream (seq );
40
+ // return RT.stream(seq);
41
41
}
42
42
43
43
final synchronized public Iter iter () {
Original file line number Diff line number Diff line change @@ -703,7 +703,7 @@ else if(coll instanceof String)
703
703
return Character .valueOf (((String ) coll ).charAt (n ));
704
704
else if (coll .getClass ().isArray ())
705
705
return Reflector .prepRet (Array .get (coll , n ));
706
- else if (coll instanceof List )
706
+ else if (coll instanceof RandomAccess )
707
707
return ((List ) coll ).get (n );
708
708
else if (coll instanceof Matcher )
709
709
return ((Matcher ) coll ).group (n );
@@ -758,7 +758,7 @@ else if(coll.getClass().isArray())
758
758
return Reflector .prepRet (Array .get (coll , n ));
759
759
return notFound ;
760
760
}
761
- else if (coll instanceof List )
761
+ else if (coll instanceof RandomAccess )
762
762
{
763
763
List list = (List ) coll ;
764
764
if (n < list .size ())
You can’t perform that action at this time.
0 commit comments