diff --git a/RefactoringToDesignPatterns/FacadePatternPractice/Practice/task.md b/RefactoringToDesignPatterns/FacadePatternPractice/Practice/task.md index 84b905a..1a86044 100644 --- a/RefactoringToDesignPatterns/FacadePatternPractice/Practice/task.md +++ b/RefactoringToDesignPatterns/FacadePatternPractice/Practice/task.md @@ -6,12 +6,12 @@ - Then, within the `Main::main()` method, identify the statements specifically related to video conversion – these should - cover loading, processing, encoding, and saving the video. After identifying them, extract these statements into a new + cover the loading, processing, encoding, and saving of the video. After identifying them, extract these statements into a new method. Name this method `convertVideo` and ensure it accepts two parameters, both of the `String` type. Then, move this method to the `VideoConversionFacade` class and make it `public`. -- Additionally, transfer the declarations of `videoLoader`, `videoProcessor`, `videoEncoder`, +- Additionally, transfer the declarations for `videoLoader`, `videoProcessor`, `videoEncoder`, and `videoSaver` to become `private` properties of the `VideoConversionFacade` class. - Finally, change the main method: it should create an instance of the `VideoConversionFacade` class and invoke @@ -22,19 +22,19 @@