- Timestamp:
- 04/05/19 12:13:40 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/actions/Actions.java
r1197 r1286 1042 1042 1043 1043 // If the ind'th parameter is a the same class as actionItem then the actionItem is the ind'th argument. 1044 if (paramCount > ind && actionItem.getClass().isAssignableFrom(paramTypes[ind])) { objects[ind++] = actionItem; } 1045 1046 // foo(Frame, Item, Item) 1047 // currentFrame, laucher, actionItem 1048 1049 // foo(Frame, Item, Item, String) 1050 1051 // foo(Frame, Item) 1044 //if (paramCount > ind && actionItem.getClass().isAssignableFrom(paramTypes[ind])) { 1045 if (paramCount > ind && paramTypes[ind].isAssignableFrom(actionItem.getClass())) { 1046 objects[ind++] = actionItem; 1047 } 1052 1048 1053 1049 // Parse the remainder of the parameters
Note:
See TracChangeset
for help on using the changeset viewer.