Explorar el Código

Update README.md

Git-Leon hace 7 años
padre
commit
6e7e2fbd6e
Se han modificado 1 ficheros con 5 adiciones y 14 borrados
  1. 5
    14
      README.md

+ 5
- 14
README.md Ver fichero

@@ -194,7 +194,9 @@ To remedy this issue, we redesign and refactor.
194 194
 * Create an enum named `Educator`.
195 195
 	* The enum should implement `Teacher`.
196 196
 	* The enum should have an enumeration for each of the instructors represented in the `Instructors` class.
197
-	* The enum should have an _empty nullary constructor_.
197
+	* Upon construction each enumeration of the enum should instantiate a respective `Instructor` and assign it to a final `instructor` field upon construction. The `instructor` should be added to the `Instructors` singleton.
198
+	* Calls to the `teach` and `lecture` method should be differed to the composite `instructor` reference.
199
+	* The enum should have a `double timeWorked` field which keeps track of the hours that the `Educator` has taught.
198 200
 
199 201
 -
200 202
 ### Part 11.0 - Test `Educator`
@@ -202,16 +204,5 @@ To remedy this issue, we redesign and refactor.
202 204
 
203 205
 
204 206
 -
205
-### Part 12.1 - Modify `Instructor` Class
206
-* Annotate the constructor with `@Deprecated`.
207
-* This constructor should be commented with `//TODO - Remove dependencies`
208
-* Create a constructor in the `Instructor` class which uses `Educator educator` parameter to set a final `educator` field.
209
-* The class should defer calls to the `teach` and `lecture` method to the composite `educator` field.
210
-* Remove any calls being made to the deprecated construcor.
211
-* Remove the deprecated constructor from the class.
212
-
213
-
214
--
215
-### Part 12.0 - Test `Instructor`
216
-* Refactor `TestInstructor` to support the newly created `Instructor` constructor.
217
-* Ensure the tests were not affected by the refactoring.
207
+### Part 12.1 - Test `ZipCodeWilmington`
208
+* Ensure the `hostLecture` method can handle objects of type `Educator`.