[Swift-commit] r4532 - trunk/src/org/griphyn/vdl/karajan/lib
wozniak at ci.uchicago.edu
wozniak at ci.uchicago.edu
Fri May 27 12:21:45 CDT 2011
Author: wozniak
Date: 2011-05-27 12:21:44 -0500 (Fri, 27 May 2011)
New Revision: 4532
Modified:
trunk/src/org/griphyn/vdl/karajan/lib/GetFieldSubscript.java
Log:
Use generics
Modified: trunk/src/org/griphyn/vdl/karajan/lib/GetFieldSubscript.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/GetFieldSubscript.java 2011-05-27 14:51:12 UTC (rev 4531)
+++ trunk/src/org/griphyn/vdl/karajan/lib/GetFieldSubscript.java 2011-05-27 17:21:44 UTC (rev 4532)
@@ -37,7 +37,7 @@
path = parsePath("["+((Double)index).intValue()+"]", stack);
else
throw new RuntimeException("Cannot handle array index of Java type "+index.getClass());
- Collection fields = var.getFields(path);
+ Collection<DSHandle> fields = var.getFields(path);
if(fields.size() == 1)
return fields.iterator().next();
else
More information about the Swift-commit
mailing list