diff --git a/output/info202_labs.html b/output/info202_labs.html index e87cb52..0a97615 100644 --- a/output/info202_labs.html +++ b/output/info202_labs.html @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:30ece8723a2ee649f98047cf49cb3f48e589a83db5adb2828c675ce947985fd9 -size 4779496 +oid sha256:1ceaf6515c4c2307246f474d1f1ef0a8bdbec23eb5d9bde9086a5c14877ce964 +size 4779690 diff --git a/tiddlers/content/labs/lab06/_Labs_06_Milestone 1 Tips.md b/tiddlers/content/labs/lab06/_Labs_06_Milestone 1 Tips.md index c3612df..3b3fca4 100644 --- a/tiddlers/content/labs/lab06/_Labs_06_Milestone 1 Tips.md +++ b/tiddlers/content/labs/lab06/_Labs_06_Milestone 1 Tips.md @@ -30,7 +30,10 @@ * Since the customer ID can be null, you should not use it for determining equality in the `hashCode`/`equals` methods --- use `username` instead. -* The `Customer` domain class that you were given has two problems with the second constructor --- it expects a customer ID, and it does not initialise the password field. Delete th +* The `Customer` domain class that you were given has two problems with the second constructor --- it expects a customer ID (the database will generate this, so the constructor should not be setting it), and it does not initialise the password field. Fix these problems: + + * Remove `customerId` from this constructor. + * Add the missing `password` to this constructor. * You can wrap an if-else statement around the links in the navigation menu to toggle which ones are shown based on if the user is signed in or not.