Changeset 2136


Ignore:
Timestamp:
05/16/17 09:40:37 (7 years ago)
Author:
pharms
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/Task.java

    r2126 r2136  
    163163    @Override 
    164164    public Collection<ITaskInstance> getInstances() { 
     165        // the feature of an unmodifiable collection was added later. To ensure backward 
     166        // compatibility with stored data, check if the object exists, if not return the instances. 
     167        if (unmodifiableInstances == null) { 
     168            return instances; 
     169        } 
     170         
    165171        return unmodifiableInstances; 
    166172    } 
Note: See TracChangeset for help on using the changeset viewer.