- Timestamp:
- 2012-05-22T13:01:04+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/admin/guiext/CommandStep.java
r21919 r25635 27 27 public class CommandStep extends Step 28 28 { 29 protected ArrayList _commandsAndCallbacks = new ArrayList();29 protected ArrayList<Runnable> _commandsAndCallbacks = new ArrayList<Runnable>(); 30 30 protected LoggedMessageArea _messageArea = new LoggedMessageArea(this.getClass()); 31 31 protected int _threadCount = -1; … … 85 85 86 86 _threadCount = 0; 87 Thread newThread = new Thread( (Runnable)_commandsAndCallbacks.get(0));87 Thread newThread = new Thread(_commandsAndCallbacks.get(0)); 88 88 newThread.start(); 89 89 } … … 106 106 107 107 if(_threadCount < _commandsAndCallbacks.size()){ 108 Thread newThread = new Thread( (Runnable)_commandsAndCallbacks.get(_threadCount));108 Thread newThread = new Thread(_commandsAndCallbacks.get(_threadCount)); 109 109 newThread.start(); 110 110 }
Note:
See TracChangeset
for help on using the changeset viewer.