Commit c3664d15 authored by Trisha Gee's avatar Trisha Gee
Browse files

[Ch5] checkYourself updated to the code on p 104

parent 1b2f487f
Loading
Loading
Loading
Loading
+4 −5
Changes for src/main/java/ch5/SimpleStartupTestDrive.java: 4 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -32,12 +32,11 @@ class SimpleStartup {
        result = "hit";
        numOfHits++;
        break;
      }
    } // close for

      } // end if
    } // end for
    if (numOfHits == locationCells.length) {
      result = "kill";
    }
    } // end if
    return result;
  } // close method
  } // end method
} // close class
 No newline at end of file