Skip to content

Commit

Permalink
Main.java: Replace Duke reference with Devon
Browse files Browse the repository at this point in the history
Update the comment in Main.java to correctly refer to the class as Devon instead of Duke.

The previous comment referred to Duke, which could lead to confusion when reading the code. Changing this ensures that the codebase accurately reflects the current state of the project.

No other functionality is affected by this change, as it is purely a documentation update.
  • Loading branch information
icantshootfloorballs committed Sep 12, 2024
1 parent 6f8a98d commit 74d7e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/devon/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void start(Stage stage) {
AnchorPane ap = fxmlLoader.load();
Scene scene = new Scene(ap);
stage.setScene(scene);
fxmlLoader.<MainWindow>getController().setDevon(devon); // inject the Duke instance
fxmlLoader.<MainWindow>getController().setDevon(devon); // inject the Devon instance
stage.show();
} catch (IOException e) {
e.printStackTrace();
Expand Down

0 comments on commit 74d7e79

Please sign in to comment.