Ignore:
Timestamp:
08/16/12 10:55:37 (12 years ago)
Author:
sherbold
Message:
  • beginning of the complete rewriting of the event core. The string representations for the event type and event target are replaced by interfaces IEventType and IEventTarget which have to be implemented by platform level implementations accordingly. Note, that this is just the first commit of this major refactoring of QUEST and it will break a lot of the source code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/SequenceInstanceOf.java

    r480 r541  
    4444                                Object listObj = ((Collection<?>) obj).iterator().next(); 
    4545                                if (listObj instanceof List<?>) { 
    46                                         if (((List<?>) listObj).iterator().next() instanceof Event<?>) { 
     46                                        if (((List<?>) listObj).iterator().next() instanceof Event) { 
    4747                                                return true; 
    4848                                        } 
     
    6868                try { 
    6969                        if (obj instanceof List<?>) { 
    70                                 if (((List<?>) obj).iterator().next() instanceof Event<?>) { 
     70                                if (((List<?>) obj).iterator().next() instanceof Event) { 
    7171                                        return true; 
    7272                                } 
Note: See TracChangeset for help on using the changeset viewer.