Ignore:
Timestamp:
07/31/14 17:20:07 (10 years ago)
Author:
pharms
Message:
  • some bugfixes and extensions for these test utils
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeEncoder.java

    r1412 r1638  
    189189        } 
    190190        else if (taskInstance instanceof IOptionalInstance) { 
    191             encode(((IOptionalInstance) taskInstance).getChild(), out, indent + "  ", i++); 
     191            if (((IOptionalInstance) taskInstance).getChild() != null) { 
     192                encode(((IOptionalInstance) taskInstance).getChild(), out, indent + "  ", i++); 
     193            } 
    192194        } 
    193195 
Note: See TracChangeset for help on using the changeset viewer.