From 3a6ceb8bd630232678e02b5c6eaec5f82bca1a8a Mon Sep 17 00:00:00 2001 From: stephen-hero <78870893+stephen-hero@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:15:07 +0200 Subject: [PATCH] Update task.md language checked --- .../InlineMethodAndVariablesPractice/task.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.