diff --git a/InliningCode/InlineMethodRefactoring/InlineMethodAndVariablesPractice/task.md b/InliningCode/InlineMethodRefactoring/InlineMethodAndVariablesPractice/task.md index 9099988..dc9ac88 100644 --- a/InliningCode/InlineMethodRefactoring/InlineMethodAndVariablesPractice/task.md +++ b/InliningCode/InlineMethodRefactoring/InlineMethodAndVariablesPractice/task.md @@ -2,7 +2,7 @@ ### Task -In this task, you need to identify unnecessary variables and method and inline them using the automatic Inline +In this task, you need to identify unnecessary variables and methods and inline them using the automatic Inline refactoring. ### Hints @@ -14,10 +14,10 @@ Ctrl+Alt+N (Windows/Linux) shortcut.
-The variable `text` in the method `main` is redundant and could be inlined. +The variable `text` in the `main` method is redundant and could be inlined. -The variables `fileWriter` and `bufferedWriter` in the method `getBufferedWriter` are redundant and could be inlined. +The variables `fileWriter` and `bufferedWriter` in the `getBufferedWriter` method are redundant and could be inlined. -Since the method `getBufferedWriter` contains only one line and is used only in one method, it could also be inlined. +Since the `getBufferedWriter` method contains only one line and is used only in one method, it could also be inlined.