Changeset 1361 for DCWoRMS/branches


Ignore:
Timestamp:
06/03/14 15:10:51 (11 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/gridsim/dcworms/filter/ExecTaskFilter.java

    r493 r1361  
    2323                boolean result = false; 
    2424                try { 
    25  
    26                         if (tag_ == ev.get_tag()) { 
     25                        if (tag_ == -1){ 
    2726                                Object obj = ev.get_data(); 
    2827 
     
    3635                                } 
    3736                        } 
     37                        else { 
     38                                if (tag_ == ev.get_tag()) { 
     39                                        Object obj = ev.get_data(); 
     40 
     41                                        if (obj instanceof Executable) { 
     42 
     43                                                Executable exec = (Executable) obj; 
     44 
     45                                                if (exec.getUniqueId() == eventID_) { 
     46                                                        result = true; 
     47                                                } 
     48                                        } 
     49                                }                                
     50                        } 
    3851                } catch (Exception e) { 
    3952                        result = false; 
Note: See TracChangeset for help on using the changeset viewer.