diff --git a/src/main/java/app/controllers/EditorController.java b/src/main/java/app/controllers/EditorController.java index 4999fff..02d9af0 100644 --- a/src/main/java/app/controllers/EditorController.java +++ b/src/main/java/app/controllers/EditorController.java @@ -139,10 +139,9 @@ public class EditorController implements Initializable, Controller { } /** - * Updates the content of the editor to a specific filepath. Otherwise it will - * open an error dialog to give the user feedback about what has happened. + * Updates the content of the editor. * - * @param filePath The path of the file + * @param newContent The String to be inserted into the editor */ public void setEditorContent(String newContent) { editor.clear();