Fix api docs

This commit is contained in:
Oystein Kristoffer Tveit 2021-04-15 16:27:40 +02:00
parent e892acf3d7
commit 4e6c12e7c9

View File

@ -148,7 +148,6 @@ public class EditorController implements Initializable, Controller, FileManageme
* open an error dialog to give the user feedback about what has happened. * open an error dialog to give the user feedback about what has happened.
* *
* @param filePath The path of the file * @param filePath The path of the file
* @throws FileNotFoundException
*/ */
public void setEditorContent(String filePath) { public void setEditorContent(String filePath) {
// if (filePath == null) { // if (filePath == null) {
@ -180,7 +179,6 @@ public class EditorController implements Initializable, Controller, FileManageme
* open an error dialog to give the user feedback about what has happened. * open an error dialog to give the user feedback about what has happened.
* *
* @param filePath The path of the file * @param filePath The path of the file
* @throws FileNotFoundException
*/ */
public void saveCodeArea(String filePath) { public void saveCodeArea(String filePath) {
try (PrintWriter writer = new PrintWriter(new File(filePath))) { try (PrintWriter writer = new PrintWriter(new File(filePath))) {