From c8f32a3f81fb538e2a6c4b8a781c06ce4b6915d9 Mon Sep 17 00:00:00 2001 From: Leon Montag Date: Wed, 11 Jan 2023 20:58:53 +0100 Subject: [PATCH] refactoring: replace special character --- src/main/java/Gui/GameGui.java | 2 +- src/main/java/Gui/gui.java | 2 +- src/test/java/Gui/guiTest.java | 2 +- .../compile/default-compile/inputFiles.lst | 18 +++++++++--------- .../default-testCompile/inputFiles.lst | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/main/java/Gui/GameGui.java b/src/main/java/Gui/GameGui.java index 2c23bba..b7246e2 100644 --- a/src/main/java/Gui/GameGui.java +++ b/src/main/java/Gui/GameGui.java @@ -71,7 +71,7 @@ GridBagConstraints gbc; @Override public void createHeadline() { - Headline = new JLabel("Wer wird Millionär?"); + Headline = new JLabel("Wer wird Millionaer?"); headingPanel.add(Headline); MainPanel.add(headingPanel); Headline.setHorizontalAlignment(JLabel.CENTER); diff --git a/src/main/java/Gui/gui.java b/src/main/java/Gui/gui.java index 7f380f6..337c0a9 100644 --- a/src/main/java/Gui/gui.java +++ b/src/main/java/Gui/gui.java @@ -37,7 +37,7 @@ public class gui implements GuiInterface { public void createButtons() { StartBtn = new JButton("Starte Spiel"); StartBtn.addActionListener(new StartGameGui()); - CloseBtn = new JButton("Schließen"); + CloseBtn = new JButton("Schliessen"); CloseBtn.addActionListener(new ActionHandler()); } diff --git a/src/test/java/Gui/guiTest.java b/src/test/java/Gui/guiTest.java index 0a6b092..1994c27 100644 --- a/src/test/java/Gui/guiTest.java +++ b/src/test/java/Gui/guiTest.java @@ -28,7 +28,7 @@ class guiTest { public void testCreateButtons() { // arrange String Start = "Starte Spiel"; - String Close = "Schließen"; + String Close = "Schliessen"; // act String StartTarget = gui.StartBtn.getText(); diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst index b7c28cf..e519c8c 100644 --- a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -1,9 +1,9 @@ -C:\Users\ozan_\MiniGameProject\src\main\java\Gui\GuiInterface.java -C:\Users\ozan_\MiniGameProject\src\main\java\Gui\GameGuiInterface.java -C:\Users\ozan_\MiniGameProject\src\main\java\Gui\gui.java -C:\Users\ozan_\MiniGameProject\src\main\java\game\loadNextQuestion.java -C:\Users\ozan_\MiniGameProject\src\main\java\Gui\ActionHandler.java -C:\Users\ozan_\MiniGameProject\src\main\java\main.java -C:\Users\ozan_\MiniGameProject\src\main\java\game\runGame.java -C:\Users\ozan_\MiniGameProject\src\main\java\Gui\StartGameGui.java -C:\Users\ozan_\MiniGameProject\src\main\java\Gui\GameGui.java +C:\Users\Leon\MiniGameProject\src\main\java\Gui\ActionHandler.java +C:\Users\Leon\MiniGameProject\src\main\java\game\loadNextQuestion.java +C:\Users\Leon\MiniGameProject\src\main\java\Gui\GameGuiInterface.java +C:\Users\Leon\MiniGameProject\src\main\java\Gui\gui.java +C:\Users\Leon\MiniGameProject\src\main\java\game\runGame.java +C:\Users\Leon\MiniGameProject\src\main\java\main.java +C:\Users\Leon\MiniGameProject\src\main\java\Gui\StartGameGui.java +C:\Users\Leon\MiniGameProject\src\main\java\Gui\GameGui.java +C:\Users\Leon\MiniGameProject\src\main\java\Gui\GuiInterface.java diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst index 4d3e2e8..17c97ad 100644 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -1,3 +1,3 @@ -C:\Users\ozan_\MiniGameProject\src\test\java\Gui\GameGuiTest.java -C:\Users\ozan_\MiniGameProject\src\test\java\game\runGameTest.java -C:\Users\ozan_\MiniGameProject\src\test\java\Gui\guiTest.java +C:\Users\Leon\MiniGameProject\src\test\java\Gui\guiTest.java +C:\Users\Leon\MiniGameProject\src\test\java\Gui\GameGuiTest.java +C:\Users\Leon\MiniGameProject\src\test\java\game\runGameTest.java