From fb14546a0e74abc0387536e86f85760b13990b38 Mon Sep 17 00:00:00 2001 From: Volt <t.fuechsel@gmx.de> Date: Sat, 31 Dec 2022 16:23:35 +0100 Subject: [PATCH] changed names --- app/src/main/java/calculator/App.java | 4 ++-- app/src/main/java/calculator/model/Calculator.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/calculator/App.java b/app/src/main/java/calculator/App.java index 9194174..82dd901 100644 --- a/app/src/main/java/calculator/App.java +++ b/app/src/main/java/calculator/App.java @@ -1,7 +1,7 @@ package calculator; -import calculator.model.Model; +import calculator.model.Calculator; import calculator.model.ICalculate; import calculator.controller.Controller; @@ -29,7 +29,7 @@ public class App extends Application { @Override public void start(Stage primaryStage) { - Model model = new Model(); + Calculator model = new Calculator(); Controller controller = new Controller((ICalculate) model); diff --git a/app/src/main/java/calculator/model/Calculator.java b/app/src/main/java/calculator/model/Calculator.java index 1e99d31..21708a8 100644 --- a/app/src/main/java/calculator/model/Calculator.java +++ b/app/src/main/java/calculator/model/Calculator.java @@ -10,7 +10,7 @@ import java.lang.IllegalArgumentException; * @author Aaron Sava */ -public class Calculator implements ICalculator { +public class Calculator implements ICalculate { /** * TODO: * Calculates the squirt root of a given number. -- GitLab