git.haldean.org droidcopter / 23dde25
debugging navlist isComplete() in NavTask Benjamin Bardin 10 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
00 <?xml version="1.0" encoding="UTF-8"?>
11 <classpath>
2 <classpathentry excluding="org/haldean/chopper/pilot/nav/NavListTest.java|org/haldean/chopper/pilot/nav/NavVelTest.java" including="org/haldean/blob/|org/haldean/chopper/nav/|org/haldean/chopper/pilot/" kind="src" path="src"/>
2 <classpathentry excluding="org/haldean/chopper/pilot/nav/NavListTest.java|org/haldean/chopper/pilot/nav/NavVelTest.java|org/haldean/blob/" including="org/haldean/chopper/nav/|org/haldean/chopper/pilot/" kind="src" path="src"/>
33 <classpathentry kind="src" path="gen"/>
44 <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
55 <classpathentry kind="output" path="bin"/>
9999 else if (nav instanceof NavList) {
100100 NavList lastList = (NavList) nav;
101101 NavData curTask = lastList.getCurrentTask();
102 while (isComplete(curTask)) {
102 while ((curTask != null) && (isComplete(curTask))) {
103103 curTask = lastList.nextTask();
104104 }
105105 if (curTask == null) {