diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..45d66c4 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,51 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Java CI with Maven + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 18 + uses: actions/setup-java@v3 + with: + java-version: '18' + distribution: 'corretto' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml + working-directory: ${{ github.workspace }} + + # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive + - name: Update dependency graph + uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6 + + build-windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 18 + uses: actions/setup-java@v3 + with: + java-version: '18' + distribution: 'corretto' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml + working-directory: ${{ github.workspace }} + diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..6cdee47 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..712ab9d --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_3_0.xml b/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_3_0.xml new file mode 100644 index 0000000..59ff9c2 --- /dev/null +++ b/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_3_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__joda_time_joda_time_2_9_2.xml b/.idea/libraries/Maven__joda_time_joda_time_2_9_2.xml new file mode 100644 index 0000000..d3cad36 --- /dev/null +++ b/.idea/libraries/Maven__joda_time_joda_time_2_9_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__junit_junit_4_12.xml b/.idea/libraries/Maven__junit_junit_4_12.xml new file mode 100644 index 0000000..d411041 --- /dev/null +++ b/.idea/libraries/Maven__junit_junit_4_12.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_commons_commons_imaging_1_0_alpha2.xml b/.idea/libraries/Maven__org_apache_commons_commons_imaging_1_0_alpha2.xml new file mode 100644 index 0000000..c61dc08 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_commons_commons_imaging_1_0_alpha2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml new file mode 100644 index 0000000..f58bbc1 --- /dev/null +++ b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index a346fd7..98a62bb 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,13 @@ - + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml index 9235d09..d779201 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,6 +2,7 @@ + diff --git a/InGame.java.userlibraries b/InGame.java.userlibraries deleted file mode 100644 index 5aec3f5..0000000 --- a/InGame.java.userlibraries +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/OsztalyDiagram.uml b/OsztalyDiagram.uml deleted file mode 100644 index 6c17afc..0000000 --- a/OsztalyDiagram.uml +++ /dev/null @@ -1,2085 +0,0 @@ - - - JAVA - C:/Users/Balint/OneDrive - Budapesti Műszaki és Gazdaságtudományi Egyetem/Szarok/Tanulás/BME/4. Félév/Szoft proj lab/Szkeleton/sivatagi_vizhalozat/src - - main.Controller - main.NomadPipeOutWindow - main.PlumberPipeInWindow - things.Pipe - main.PlumberPipeInteraction - main.PlumberPipeOutWindow - main.NomadPipeInWindow - main.LoadSave - main.GamePanel - things.State - main.NomadPipeInteraction - entities.Plumber - states.InGame - entities.Nomad - main.Round - main.PlumberPickUpWindow - main.PlumberMoveWindow - main.Game - main.Main - main.NomadMoveWindow - main.settings - main.restart_menu - things.Spring - things.Cistern - main.GameWindow - main.startMenu - main.NomadButtonPanel - things.Field - things.Pump - main.ImagePanel - main.PlumberButtonPanel - entities.Player - things.Cactus - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Constructors - Fields - Inner Classes - Methods - Properties - - All - private - - diff --git a/dependency-reduced-pom.xml b/dependency-reduced-pom.xml new file mode 100644 index 0000000..0d5877d --- /dev/null +++ b/dependency-reduced-pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + org.springframework + gs-maven + 0.1.0 + + + + maven-shade-plugin + 3.2.4 + + + package + + shade + + + + + program.main.Main + + + + + + + + + + + junit + junit + 4.12 + test + + + hamcrest-core + org.hamcrest + + + + + + + + com.github.spotbugs + spotbugs-maven-plugin + 4.8.5.0 + + + + + 1.8 + 1.8 + + diff --git a/diagram.png b/diagram.png deleted file mode 100644 index e666b21..0000000 Binary files a/diagram.png and /dev/null differ diff --git a/gs-maven.iml b/gs-maven.iml new file mode 100644 index 0000000..a576569 --- /dev/null +++ b/gs-maven.iml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..aa3bda0 --- /dev/null +++ b/pom.xml @@ -0,0 +1,79 @@ + + + 4.0.0 + + org.springframework + gs-maven + jar + 0.1.0 + + + 1.8 + 1.8 + + + + + + joda-time + joda-time + 2.9.2 + + + + + junit + junit + 4.12 + test + + + + + org.apache.commons + commons-imaging + 1.0-alpha2 + + + javax.xml.bind + jaxb-api + 2.3.0 + + + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.2.4 + + + package + + shade + + + + + program.main.Main + + + + + + + + + + + + + com.github.spotbugs + spotbugs-maven-plugin + 4.8.5.0 + + + + diff --git a/res/META-INF/MANIFEST.MF b/res/META-INF/MANIFEST.MF deleted file mode 100644 index 6948c82..0000000 --- a/res/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -Main-Class: main.Main - diff --git a/sivatagi_vizhalozat.eml b/sivatagi_vizhalozat.eml deleted file mode 100644 index 0af3e15..0000000 --- a/sivatagi_vizhalozat.eml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/sivatagi_vizhalozat.iml b/sivatagi_vizhalozat.iml deleted file mode 100644 index 17ba59d..0000000 --- a/sivatagi_vizhalozat.iml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/src/META-INF/MANIFEST.MF b/src/META-INF/MANIFEST.MF deleted file mode 100644 index 6948c82..0000000 --- a/src/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -Main-Class: main.Main - diff --git a/src/things/Cactus.java b/src/main/java/program/main/Cactus.java similarity index 90% rename from src/things/Cactus.java rename to src/main/java/program/main/Cactus.java index bb6cd57..5694506 100644 --- a/src/things/Cactus.java +++ b/src/main/java/program/main/Cactus.java @@ -1,6 +1,4 @@ -package things; - -import main.LoadSave; +package program.main; import java.awt.*; import java.awt.image.BufferedImage; @@ -23,7 +21,7 @@ public Cactus(String fileName) { file_pic = LoadSave.getFile(fileName); Random rand = new Random(); - w = rand.nextInt(16, 50); + w = rand.nextInt(50); h = w; x = rand.nextInt(800 - w); y = rand.nextInt(600 - h); diff --git a/src/things/Cistern.java b/src/main/java/program/main/Cistern.java similarity index 97% rename from src/things/Cistern.java rename to src/main/java/program/main/Cistern.java index 08a73bd..ed117b7 100644 --- a/src/things/Cistern.java +++ b/src/main/java/program/main/Cistern.java @@ -1,6 +1,4 @@ -package things; - -import main.Controller; +package program.main; import java.awt.*; import java.io.Serializable; diff --git a/src/main/Controller.java b/src/main/java/program/main/Controller.java similarity index 97% rename from src/main/Controller.java rename to src/main/java/program/main/Controller.java index c909b67..8a3d84f 100644 --- a/src/main/Controller.java +++ b/src/main/java/program/main/Controller.java @@ -1,13 +1,10 @@ -package main; +package program.main; -import entities.*; -import things.Pump; import java.util.Random; - -import static main.Main.game; -import static things.State.Broken; -import static things.State.Working; +import static program.main.Main.game; +import static program.main.State.Working; +import static program.main.State.Broken; public class Controller { /** @@ -145,6 +142,7 @@ public void turn() { //System.out.println(game.plumberButtonPanel.getendturn()); Main.game.getGameWindow().getPlumberButtonPanel().setVisible(true); for (int i = 0; i < game.Plumbers().size(); i++) { + //System.out.println("plumber size: " + game.Plumbers().size()); game.Nomads().get(i).setMoved(false); //System.out.println("plumber"); CurrentPlumber = game.Plumbers().get(i); diff --git a/src/things/Field.java b/src/main/java/program/main/Field.java similarity index 99% rename from src/things/Field.java rename to src/main/java/program/main/Field.java index e8a699f..af9cc1c 100644 --- a/src/things/Field.java +++ b/src/main/java/program/main/Field.java @@ -1,12 +1,12 @@ -package things; +package program.main; -import main.Round; - import java.awt.image.BufferedImage; import java.io.Serializable; import java.util.ArrayList; + + /** * A pálya ezekből az elemekből áll. Ez egy absztrakt osztály. */ diff --git a/src/main/Game.java b/src/main/java/program/main/Game.java similarity index 97% rename from src/main/Game.java rename to src/main/java/program/main/Game.java index d8111df..00050d9 100644 --- a/src/main/Game.java +++ b/src/main/java/program/main/Game.java @@ -1,12 +1,4 @@ -package main; - -import entities.Nomad; -import entities.Player; -import entities.Plumber; -import states.InGame; -import things.*; -import things.*; - +package program.main; import javax.crypto.spec.PSource; import javax.imageio.ImageIO; @@ -17,7 +9,6 @@ import java.io.InputStream; import java.util.ArrayList; -import static main.Main.game; public class Game implements Runnable { /** @@ -198,7 +189,7 @@ public void run() { long lastCheck = System.currentTimeMillis(); double lamdaU = 0; double lamdaF = 0; - while (true) { + while (!Controller.GameOver) { long currentTime = System.nanoTime(); lamdaU += (currentTime - previousTime) / timePerUpdata; diff --git a/src/main/GamePanel.java b/src/main/java/program/main/GamePanel.java similarity index 99% rename from src/main/GamePanel.java rename to src/main/java/program/main/GamePanel.java index 1e25f9c..e137dbb 100644 --- a/src/main/GamePanel.java +++ b/src/main/java/program/main/GamePanel.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import javax.swing.border.Border; diff --git a/src/main/GameWindow.java b/src/main/java/program/main/GameWindow.java similarity index 98% rename from src/main/GameWindow.java rename to src/main/java/program/main/GameWindow.java index 952f539..b795204 100644 --- a/src/main/GameWindow.java +++ b/src/main/java/program/main/GameWindow.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/main/ImagePanel.java b/src/main/java/program/main/ImagePanel.java similarity index 96% rename from src/main/ImagePanel.java rename to src/main/java/program/main/ImagePanel.java index 6f5000a..a0b3e2c 100644 --- a/src/main/ImagePanel.java +++ b/src/main/java/program/main/ImagePanel.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/states/InGame.java b/src/main/java/program/main/InGame.java similarity index 95% rename from src/states/InGame.java rename to src/main/java/program/main/InGame.java index f32ffb1..cdb20aa 100644 --- a/src/states/InGame.java +++ b/src/main/java/program/main/InGame.java @@ -1,13 +1,4 @@ -package states; - -import entities.Nomad; -import entities.Player; -import entities.Plumber; -import main.Game; -import main.GameWindow; -import main.LoadSave; -import things.*; -import things.Spring; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/main/LoadSave.java b/src/main/java/program/main/LoadSave.java similarity index 98% rename from src/main/LoadSave.java rename to src/main/java/program/main/LoadSave.java index 5eb04d1..995876a 100644 --- a/src/main/LoadSave.java +++ b/src/main/java/program/main/LoadSave.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; diff --git a/src/main/Main.java b/src/main/java/program/main/Main.java similarity index 87% rename from src/main/Main.java rename to src/main/java/program/main/Main.java index 4553166..e6a69e3 100644 --- a/src/main/Main.java +++ b/src/main/java/program/main/Main.java @@ -1,11 +1,4 @@ -package main; - -import entities.Nomad; -import entities.Player; -import entities.Plumber; -import things.*; -import things.Spring; - +package program.main; import javax.imageio.*; import javax.swing.*; diff --git a/src/entities/Nomad.java b/src/main/java/program/main/Nomad.java similarity index 92% rename from src/entities/Nomad.java rename to src/main/java/program/main/Nomad.java index e3f824c..0c14a94 100644 --- a/src/entities/Nomad.java +++ b/src/main/java/program/main/Nomad.java @@ -1,10 +1,4 @@ -package entities; - -import main.LoadSave; -import things.Field; -import things.Pipe; -import things.Pump; -import things.State; +package program.main; import java.awt.*; import java.awt.image.BufferedImage; @@ -102,7 +96,7 @@ public void makeSlippery(Pipe p) { if (p != null && this.getPosition().getConnectedPipes().contains(p) && p.getTurnsToNotSlippery() <= 0) { if (this.cooldown <= 0) { p.SetTurnNotToSlippery(5); - cooldown = main.Controller.getNomadCoolDown(); + cooldown = Controller.getNomadCoolDown(); //System.out.println("SUCCESS - Nomad.makeSlippery()"); // this.done = true; diff --git a/src/main/NomadButtonPanel.java b/src/main/java/program/main/NomadButtonPanel.java similarity index 99% rename from src/main/NomadButtonPanel.java rename to src/main/java/program/main/NomadButtonPanel.java index 7e033cb..2676ca8 100644 --- a/src/main/NomadButtonPanel.java +++ b/src/main/java/program/main/NomadButtonPanel.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import javax.swing.border.LineBorder; diff --git a/src/main/NomadMoveWindow.java b/src/main/java/program/main/NomadMoveWindow.java similarity index 99% rename from src/main/NomadMoveWindow.java rename to src/main/java/program/main/NomadMoveWindow.java index fa1bbe7..2331ea7 100644 --- a/src/main/NomadMoveWindow.java +++ b/src/main/java/program/main/NomadMoveWindow.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/main/NomadPipeInWindow.java b/src/main/java/program/main/NomadPipeInWindow.java similarity index 98% rename from src/main/NomadPipeInWindow.java rename to src/main/java/program/main/NomadPipeInWindow.java index 3e98b65..13a7f3a 100644 --- a/src/main/NomadPipeInWindow.java +++ b/src/main/java/program/main/NomadPipeInWindow.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/main/NomadPipeInteraction.java b/src/main/java/program/main/NomadPipeInteraction.java similarity index 98% rename from src/main/NomadPipeInteraction.java rename to src/main/java/program/main/NomadPipeInteraction.java index a7af37f..6fbc8f6 100644 --- a/src/main/NomadPipeInteraction.java +++ b/src/main/java/program/main/NomadPipeInteraction.java @@ -1,6 +1,4 @@ -package main; - -import things.Pipe; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/main/NomadPipeOutWindow.java b/src/main/java/program/main/NomadPipeOutWindow.java similarity index 98% rename from src/main/NomadPipeOutWindow.java rename to src/main/java/program/main/NomadPipeOutWindow.java index 5a2862c..e254d7a 100644 --- a/src/main/NomadPipeOutWindow.java +++ b/src/main/java/program/main/NomadPipeOutWindow.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/things/Pipe.java b/src/main/java/program/main/Pipe.java similarity index 99% rename from src/things/Pipe.java rename to src/main/java/program/main/Pipe.java index a05040b..0ed0422 100644 --- a/src/things/Pipe.java +++ b/src/main/java/program/main/Pipe.java @@ -1,10 +1,4 @@ -package things; - -import entities.Plumber; -import main.Controller; -import main.Game; -import main.Main; - +package program.main; import java.awt.*; import java.awt.image.BufferedImage; @@ -15,9 +9,10 @@ import java.time.LocalDateTime; import java.util.Random; -import static main.Main.game; +import static program.main.Main.game; public class Pipe extends Field implements Serializable { + int x1; int y1; int x2; diff --git a/src/entities/Player.java b/src/main/java/program/main/Player.java similarity index 97% rename from src/entities/Player.java rename to src/main/java/program/main/Player.java index efb105e..1775f0b 100644 --- a/src/entities/Player.java +++ b/src/main/java/program/main/Player.java @@ -1,11 +1,4 @@ -package entities; - -import main.*; -import states.InGame; -import things.Field; -import things.Pump; -import things.Pipe; -import main.Controller; +package program.main; import java.awt.*; import java.awt.image.BufferedImage; @@ -233,7 +226,7 @@ public void destroy(Pipe p) { p.destroy(); //System.out.println("SUCCESS - Player.destroy()"); - cooldown = main.Controller.getNomadCoolDown(); + cooldown = Controller.getNomadCoolDown(); // this.done = true; } else { //System.out.println("FALIED TO DESTROY THE PIPE - The pipe was not connected to the pump"); @@ -327,7 +320,7 @@ public void makeSticky(Pipe p) { if (this.getCooldown() <= 0) { p.setTurnToNotSticky(5); - this.cooldown = main.Controller.getNomadCoolDown(); + this.cooldown = Controller.getNomadCoolDown(); //System.out.println("SUCCESS - Player.makeSticky()"); } } else { diff --git a/src/entities/Plumber.java b/src/main/java/program/main/Plumber.java similarity index 97% rename from src/entities/Plumber.java rename to src/main/java/program/main/Plumber.java index 7be66e0..c320615 100644 --- a/src/entities/Plumber.java +++ b/src/main/java/program/main/Plumber.java @@ -1,8 +1,4 @@ -package entities; - -import main.LoadSave; -import main.Main; -import things.*; +package program.main; import java.awt.*; import java.io.Serializable; @@ -43,7 +39,7 @@ public void repair(Field f) { f.repair(); //System.out.println("SUCCESS - Plumber.repair()"); // this.done = true; - this.cooldown = main.Controller.getNomadCoolDown(); + this.cooldown = Controller.getNomadCoolDown(); } } } diff --git a/src/main/PlumberButtonPanel.java b/src/main/java/program/main/PlumberButtonPanel.java similarity index 99% rename from src/main/PlumberButtonPanel.java rename to src/main/java/program/main/PlumberButtonPanel.java index bf2775a..2765e89 100644 --- a/src/main/PlumberButtonPanel.java +++ b/src/main/java/program/main/PlumberButtonPanel.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import java.awt.*; @@ -6,7 +6,6 @@ import java.awt.event.ActionListener; import java.util.ArrayList; -import entities.Player; public class PlumberButtonPanel extends JPanel implements ActionListener { /** diff --git a/src/main/PlumberMoveWindow.java b/src/main/java/program/main/PlumberMoveWindow.java similarity index 99% rename from src/main/PlumberMoveWindow.java rename to src/main/java/program/main/PlumberMoveWindow.java index 7f067ee..7a25486 100644 --- a/src/main/PlumberMoveWindow.java +++ b/src/main/java/program/main/PlumberMoveWindow.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/main/PlumberPickUpWindow.java b/src/main/java/program/main/PlumberPickUpWindow.java similarity index 98% rename from src/main/PlumberPickUpWindow.java rename to src/main/java/program/main/PlumberPickUpWindow.java index e0d39f2..e154048 100644 --- a/src/main/PlumberPickUpWindow.java +++ b/src/main/java/program/main/PlumberPickUpWindow.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/main/PlumberPipeInWindow.java b/src/main/java/program/main/PlumberPipeInWindow.java similarity index 98% rename from src/main/PlumberPipeInWindow.java rename to src/main/java/program/main/PlumberPipeInWindow.java index 0b2e624..468b021 100644 --- a/src/main/PlumberPipeInWindow.java +++ b/src/main/java/program/main/PlumberPipeInWindow.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/main/PlumberPipeInteraction.java b/src/main/java/program/main/PlumberPipeInteraction.java similarity index 98% rename from src/main/PlumberPipeInteraction.java rename to src/main/java/program/main/PlumberPipeInteraction.java index 04d3611..5e0813d 100644 --- a/src/main/PlumberPipeInteraction.java +++ b/src/main/java/program/main/PlumberPipeInteraction.java @@ -1,6 +1,4 @@ -package main; - -import things.Pipe; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/main/PlumberPipeOutWindow.java b/src/main/java/program/main/PlumberPipeOutWindow.java similarity index 98% rename from src/main/PlumberPipeOutWindow.java rename to src/main/java/program/main/PlumberPipeOutWindow.java index f82cf72..f16276c 100644 --- a/src/main/PlumberPipeOutWindow.java +++ b/src/main/java/program/main/PlumberPipeOutWindow.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/things/Pump.java b/src/main/java/program/main/Pump.java similarity index 99% rename from src/things/Pump.java rename to src/main/java/program/main/Pump.java index 8b44488..6d2424f 100644 --- a/src/things/Pump.java +++ b/src/main/java/program/main/Pump.java @@ -1,7 +1,4 @@ -package things; - -import main.LoadSave; -import main.Main; +package program.main; import java.awt.*; import java.awt.image.BufferedImage; diff --git a/src/main/Round.java b/src/main/java/program/main/Round.java similarity index 88% rename from src/main/Round.java rename to src/main/java/program/main/Round.java index 6468a82..e45d775 100644 --- a/src/main/Round.java +++ b/src/main/java/program/main/Round.java @@ -1,4 +1,4 @@ -package main; +package program.main; public interface Round { /** diff --git a/src/things/Spring.java b/src/main/java/program/main/Spring.java similarity index 98% rename from src/things/Spring.java rename to src/main/java/program/main/Spring.java index be9e726..e773769 100644 --- a/src/things/Spring.java +++ b/src/main/java/program/main/Spring.java @@ -1,4 +1,4 @@ -package things; +package program.main; import java.io.Serializable; import java.util.ArrayList; diff --git a/src/things/State.java b/src/main/java/program/main/State.java similarity index 86% rename from src/things/State.java rename to src/main/java/program/main/State.java index 6594e88..2b12a85 100644 --- a/src/things/State.java +++ b/src/main/java/program/main/State.java @@ -1,4 +1,4 @@ -package things; +package program.main; /** A State az egy enum. Megadja, hogy az adott mező működik vagy el van e romolva. */ diff --git a/src/main/restart_menu.java b/src/main/java/program/main/restart_menu.java similarity index 99% rename from src/main/restart_menu.java rename to src/main/java/program/main/restart_menu.java index f37e875..e1da1da 100644 --- a/src/main/restart_menu.java +++ b/src/main/java/program/main/restart_menu.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/main/settings.java b/src/main/java/program/main/settings.java similarity index 99% rename from src/main/settings.java rename to src/main/java/program/main/settings.java index 27ce2f0..7ef6b1e 100644 --- a/src/main/settings.java +++ b/src/main/java/program/main/settings.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/src/main/startMenu.java b/src/main/java/program/main/startMenu.java similarity index 99% rename from src/main/startMenu.java rename to src/main/java/program/main/startMenu.java index 871f3e2..9b725f0 100644 --- a/src/main/startMenu.java +++ b/src/main/java/program/main/startMenu.java @@ -1,4 +1,4 @@ -package main; +package program.main; import javax.swing.*; import java.awt.*; diff --git a/res/cactus.png b/src/main/resources/cactus.png similarity index 100% rename from res/cactus.png rename to src/main/resources/cactus.png diff --git a/res/cistern.png b/src/main/resources/cistern.png similarity index 100% rename from res/cistern.png rename to src/main/resources/cistern.png diff --git a/res/desert.png b/src/main/resources/desert.png similarity index 100% rename from res/desert.png rename to src/main/resources/desert.png diff --git a/res/nomad_0.png b/src/main/resources/nomad_0.png similarity index 100% rename from res/nomad_0.png rename to src/main/resources/nomad_0.png diff --git a/res/nomad_1.png b/src/main/resources/nomad_1.png similarity index 100% rename from res/nomad_1.png rename to src/main/resources/nomad_1.png diff --git a/res/nomad_2.png b/src/main/resources/nomad_2.png similarity index 100% rename from res/nomad_2.png rename to src/main/resources/nomad_2.png diff --git a/res/nomad_3.png b/src/main/resources/nomad_3.png similarity index 100% rename from res/nomad_3.png rename to src/main/resources/nomad_3.png diff --git a/res/plumber_0.png b/src/main/resources/plumber_0.png similarity index 100% rename from res/plumber_0.png rename to src/main/resources/plumber_0.png diff --git a/res/plumber_1.png b/src/main/resources/plumber_1.png similarity index 100% rename from res/plumber_1.png rename to src/main/resources/plumber_1.png diff --git a/res/plumber_2.png b/src/main/resources/plumber_2.png similarity index 100% rename from res/plumber_2.png rename to src/main/resources/plumber_2.png diff --git a/res/plumber_3.png b/src/main/resources/plumber_3.png similarity index 100% rename from res/plumber_3.png rename to src/main/resources/plumber_3.png diff --git a/res/pump_broken_empty.png b/src/main/resources/pump_broken_empty.png similarity index 100% rename from res/pump_broken_empty.png rename to src/main/resources/pump_broken_empty.png diff --git a/res/pump_broken_full.png b/src/main/resources/pump_broken_full.png similarity index 100% rename from res/pump_broken_full.png rename to src/main/resources/pump_broken_full.png diff --git a/res/pump_working_empty.png b/src/main/resources/pump_working_empty.png similarity index 100% rename from res/pump_working_empty.png rename to src/main/resources/pump_working_empty.png diff --git a/res/pump_working_full.png b/src/main/resources/pump_working_full.png similarity index 100% rename from res/pump_working_full.png rename to src/main/resources/pump_working_full.png diff --git a/res/source.png b/src/main/resources/source.png similarity index 100% rename from res/source.png rename to src/main/resources/source.png diff --git a/res/start_background.png b/src/main/resources/start_background.png similarity index 100% rename from res/start_background.png rename to src/main/resources/start_background.png diff --git a/src/test/java/program/GreeterTest.java b/src/test/java/program/GreeterTest.java new file mode 100644 index 0000000..63f5f95 --- /dev/null +++ b/src/test/java/program/GreeterTest.java @@ -0,0 +1,19 @@ +/*package program; + +import static org.hamcrest.CoreMatchers.containsString; +import static org.junit.Assert.*; + +import org.junit.Test; + +import program.main.Greeter; + +public class GreeterTest { + + private Greeter greeter = new Greeter(); + + @Test + public void greeterSaysHello() { + assertThat(greeter.sayHello(), containsString("Hello")); + } + +}*/ \ No newline at end of file diff --git a/target/classes/cactus.png b/target/classes/cactus.png new file mode 100644 index 0000000..245c6b9 Binary files /dev/null and b/target/classes/cactus.png differ diff --git a/target/classes/cistern.png b/target/classes/cistern.png new file mode 100644 index 0000000..9f25e50 Binary files /dev/null and b/target/classes/cistern.png differ diff --git a/target/classes/desert.png b/target/classes/desert.png new file mode 100644 index 0000000..2f9b93b Binary files /dev/null and b/target/classes/desert.png differ diff --git a/target/classes/nomad_0.png b/target/classes/nomad_0.png new file mode 100644 index 0000000..968389f Binary files /dev/null and b/target/classes/nomad_0.png differ diff --git a/target/classes/nomad_1.png b/target/classes/nomad_1.png new file mode 100644 index 0000000..8b723e0 Binary files /dev/null and b/target/classes/nomad_1.png differ diff --git a/target/classes/nomad_2.png b/target/classes/nomad_2.png new file mode 100644 index 0000000..6f01d39 Binary files /dev/null and b/target/classes/nomad_2.png differ diff --git a/target/classes/nomad_3.png b/target/classes/nomad_3.png new file mode 100644 index 0000000..02c5085 Binary files /dev/null and b/target/classes/nomad_3.png differ diff --git a/target/classes/plumber_0.png b/target/classes/plumber_0.png new file mode 100644 index 0000000..96fe01d Binary files /dev/null and b/target/classes/plumber_0.png differ diff --git a/target/classes/plumber_1.png b/target/classes/plumber_1.png new file mode 100644 index 0000000..75db1de Binary files /dev/null and b/target/classes/plumber_1.png differ diff --git a/target/classes/plumber_2.png b/target/classes/plumber_2.png new file mode 100644 index 0000000..1681916 Binary files /dev/null and b/target/classes/plumber_2.png differ diff --git a/target/classes/plumber_3.png b/target/classes/plumber_3.png new file mode 100644 index 0000000..2902045 Binary files /dev/null and b/target/classes/plumber_3.png differ diff --git a/target/classes/program/main/Cactus.class b/target/classes/program/main/Cactus.class new file mode 100644 index 0000000..986677d Binary files /dev/null and b/target/classes/program/main/Cactus.class differ diff --git a/target/classes/program/main/Cistern.class b/target/classes/program/main/Cistern.class new file mode 100644 index 0000000..963210b Binary files /dev/null and b/target/classes/program/main/Cistern.class differ diff --git a/target/classes/program/main/Controller.class b/target/classes/program/main/Controller.class new file mode 100644 index 0000000..da35cc3 Binary files /dev/null and b/target/classes/program/main/Controller.class differ diff --git a/target/classes/program/main/Field.class b/target/classes/program/main/Field.class new file mode 100644 index 0000000..4a4b3d7 Binary files /dev/null and b/target/classes/program/main/Field.class differ diff --git a/target/classes/program/main/Game.class b/target/classes/program/main/Game.class new file mode 100644 index 0000000..ee141ac Binary files /dev/null and b/target/classes/program/main/Game.class differ diff --git a/target/classes/program/main/GamePanel.class b/target/classes/program/main/GamePanel.class new file mode 100644 index 0000000..8e4d1e0 Binary files /dev/null and b/target/classes/program/main/GamePanel.class differ diff --git a/target/classes/program/main/GameWindow.class b/target/classes/program/main/GameWindow.class new file mode 100644 index 0000000..045fdf2 Binary files /dev/null and b/target/classes/program/main/GameWindow.class differ diff --git a/target/classes/program/main/HelloWorld.class b/target/classes/program/main/HelloWorld.class new file mode 100644 index 0000000..c628c7a Binary files /dev/null and b/target/classes/program/main/HelloWorld.class differ diff --git a/target/classes/program/main/ImagePanel.class b/target/classes/program/main/ImagePanel.class new file mode 100644 index 0000000..9c85559 Binary files /dev/null and b/target/classes/program/main/ImagePanel.class differ diff --git a/target/classes/program/main/InGame.class b/target/classes/program/main/InGame.class new file mode 100644 index 0000000..792685f Binary files /dev/null and b/target/classes/program/main/InGame.class differ diff --git a/target/classes/program/main/LoadSave.class b/target/classes/program/main/LoadSave.class new file mode 100644 index 0000000..3ba33f9 Binary files /dev/null and b/target/classes/program/main/LoadSave.class differ diff --git a/target/classes/program/main/Main.class b/target/classes/program/main/Main.class new file mode 100644 index 0000000..08bbae0 Binary files /dev/null and b/target/classes/program/main/Main.class differ diff --git a/target/classes/program/main/Nomad.class b/target/classes/program/main/Nomad.class new file mode 100644 index 0000000..5123ee2 Binary files /dev/null and b/target/classes/program/main/Nomad.class differ diff --git a/target/classes/program/main/NomadButtonPanel.class b/target/classes/program/main/NomadButtonPanel.class new file mode 100644 index 0000000..00b2228 Binary files /dev/null and b/target/classes/program/main/NomadButtonPanel.class differ diff --git a/target/classes/program/main/NomadMoveWindow.class b/target/classes/program/main/NomadMoveWindow.class new file mode 100644 index 0000000..6a5243f Binary files /dev/null and b/target/classes/program/main/NomadMoveWindow.class differ diff --git a/target/classes/program/main/NomadPipeInWindow.class b/target/classes/program/main/NomadPipeInWindow.class new file mode 100644 index 0000000..604b912 Binary files /dev/null and b/target/classes/program/main/NomadPipeInWindow.class differ diff --git a/target/classes/program/main/NomadPipeInteraction.class b/target/classes/program/main/NomadPipeInteraction.class new file mode 100644 index 0000000..79de03c Binary files /dev/null and b/target/classes/program/main/NomadPipeInteraction.class differ diff --git a/target/classes/program/main/NomadPipeOutWindow.class b/target/classes/program/main/NomadPipeOutWindow.class new file mode 100644 index 0000000..e9b2a87 Binary files /dev/null and b/target/classes/program/main/NomadPipeOutWindow.class differ diff --git a/target/classes/program/main/Pipe.class b/target/classes/program/main/Pipe.class new file mode 100644 index 0000000..a4473b8 Binary files /dev/null and b/target/classes/program/main/Pipe.class differ diff --git a/target/classes/program/main/Player.class b/target/classes/program/main/Player.class new file mode 100644 index 0000000..49536c4 Binary files /dev/null and b/target/classes/program/main/Player.class differ diff --git a/target/classes/program/main/Plumber.class b/target/classes/program/main/Plumber.class new file mode 100644 index 0000000..64e3e84 Binary files /dev/null and b/target/classes/program/main/Plumber.class differ diff --git a/target/classes/program/main/PlumberButtonPanel.class b/target/classes/program/main/PlumberButtonPanel.class new file mode 100644 index 0000000..ac7ca00 Binary files /dev/null and b/target/classes/program/main/PlumberButtonPanel.class differ diff --git a/target/classes/program/main/PlumberMoveWindow.class b/target/classes/program/main/PlumberMoveWindow.class new file mode 100644 index 0000000..36a8dd7 Binary files /dev/null and b/target/classes/program/main/PlumberMoveWindow.class differ diff --git a/target/classes/program/main/PlumberPickUpWindow.class b/target/classes/program/main/PlumberPickUpWindow.class new file mode 100644 index 0000000..dcb4527 Binary files /dev/null and b/target/classes/program/main/PlumberPickUpWindow.class differ diff --git a/target/classes/program/main/PlumberPipeInWindow.class b/target/classes/program/main/PlumberPipeInWindow.class new file mode 100644 index 0000000..5da85b0 Binary files /dev/null and b/target/classes/program/main/PlumberPipeInWindow.class differ diff --git a/target/classes/program/main/PlumberPipeInteraction.class b/target/classes/program/main/PlumberPipeInteraction.class new file mode 100644 index 0000000..14a185d Binary files /dev/null and b/target/classes/program/main/PlumberPipeInteraction.class differ diff --git a/target/classes/program/main/PlumberPipeOutWindow.class b/target/classes/program/main/PlumberPipeOutWindow.class new file mode 100644 index 0000000..351cd83 Binary files /dev/null and b/target/classes/program/main/PlumberPipeOutWindow.class differ diff --git a/target/classes/program/main/Pump.class b/target/classes/program/main/Pump.class new file mode 100644 index 0000000..d82fa7a Binary files /dev/null and b/target/classes/program/main/Pump.class differ diff --git a/target/classes/program/main/Round.class b/target/classes/program/main/Round.class new file mode 100644 index 0000000..79eeb67 Binary files /dev/null and b/target/classes/program/main/Round.class differ diff --git a/target/classes/program/main/Spring.class b/target/classes/program/main/Spring.class new file mode 100644 index 0000000..efacf8d Binary files /dev/null and b/target/classes/program/main/Spring.class differ diff --git a/target/classes/program/main/State.class b/target/classes/program/main/State.class new file mode 100644 index 0000000..7f0a02f Binary files /dev/null and b/target/classes/program/main/State.class differ diff --git a/target/classes/program/main/restart_menu$1.class b/target/classes/program/main/restart_menu$1.class new file mode 100644 index 0000000..7bdf471 Binary files /dev/null and b/target/classes/program/main/restart_menu$1.class differ diff --git a/target/classes/program/main/restart_menu$2.class b/target/classes/program/main/restart_menu$2.class new file mode 100644 index 0000000..d1b3a64 Binary files /dev/null and b/target/classes/program/main/restart_menu$2.class differ diff --git a/target/classes/program/main/restart_menu.class b/target/classes/program/main/restart_menu.class new file mode 100644 index 0000000..896aac6 Binary files /dev/null and b/target/classes/program/main/restart_menu.class differ diff --git a/target/classes/program/main/settings$1.class b/target/classes/program/main/settings$1.class new file mode 100644 index 0000000..3d50c26 Binary files /dev/null and b/target/classes/program/main/settings$1.class differ diff --git a/target/classes/program/main/settings$2.class b/target/classes/program/main/settings$2.class new file mode 100644 index 0000000..7e66f2e Binary files /dev/null and b/target/classes/program/main/settings$2.class differ diff --git a/target/classes/program/main/settings.class b/target/classes/program/main/settings.class new file mode 100644 index 0000000..d99348b Binary files /dev/null and b/target/classes/program/main/settings.class differ diff --git a/target/classes/program/main/startMenu$1.class b/target/classes/program/main/startMenu$1.class new file mode 100644 index 0000000..903ab2f Binary files /dev/null and b/target/classes/program/main/startMenu$1.class differ diff --git a/target/classes/program/main/startMenu$2.class b/target/classes/program/main/startMenu$2.class new file mode 100644 index 0000000..d2f6734 Binary files /dev/null and b/target/classes/program/main/startMenu$2.class differ diff --git a/target/classes/program/main/startMenu$3.class b/target/classes/program/main/startMenu$3.class new file mode 100644 index 0000000..cf41d7f Binary files /dev/null and b/target/classes/program/main/startMenu$3.class differ diff --git a/target/classes/program/main/startMenu.class b/target/classes/program/main/startMenu.class new file mode 100644 index 0000000..766fca7 Binary files /dev/null and b/target/classes/program/main/startMenu.class differ diff --git a/target/classes/pump_broken_empty.png b/target/classes/pump_broken_empty.png new file mode 100644 index 0000000..6e433bf Binary files /dev/null and b/target/classes/pump_broken_empty.png differ diff --git a/target/classes/pump_broken_full.png b/target/classes/pump_broken_full.png new file mode 100644 index 0000000..a7b0b31 Binary files /dev/null and b/target/classes/pump_broken_full.png differ diff --git a/target/classes/pump_working_empty.png b/target/classes/pump_working_empty.png new file mode 100644 index 0000000..6f909b4 Binary files /dev/null and b/target/classes/pump_working_empty.png differ diff --git a/target/classes/pump_working_full.png b/target/classes/pump_working_full.png new file mode 100644 index 0000000..72bda63 Binary files /dev/null and b/target/classes/pump_working_full.png differ diff --git a/target/classes/source.png b/target/classes/source.png new file mode 100644 index 0000000..fe8940f Binary files /dev/null and b/target/classes/source.png differ diff --git a/target/classes/start_background.png b/target/classes/start_background.png new file mode 100644 index 0000000..7a3999c Binary files /dev/null and b/target/classes/start_background.png differ diff --git a/target/gs-maven-0.1.0.jar b/target/gs-maven-0.1.0.jar new file mode 100644 index 0000000..ea41998 Binary files /dev/null and b/target/gs-maven-0.1.0.jar differ diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties new file mode 100644 index 0000000..2d46558 --- /dev/null +++ b/target/maven-archiver/pom.properties @@ -0,0 +1,3 @@ +artifactId=gs-maven +groupId=org.springframework +version=0.1.0 diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..e69de29 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 new file mode 100644 index 0000000..f4edf3b --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,35 @@ +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/GameWindow.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Plumber.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/NomadPipeInteraction.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Game.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/HelloWorld.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/startMenu.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/InGame.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Nomad.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/ImagePanel.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Controller.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/NomadMoveWindow.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Main.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/State.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/PlumberPickUpWindow.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/PlumberPipeInWindow.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/NomadButtonPanel.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/GamePanel.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/PlumberButtonPanel.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/NomadPipeOutWindow.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Pipe.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Cistern.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/LoadSave.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/restart_menu.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Field.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Round.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/PlumberPipeOutWindow.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/PlumberPipeInteraction.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Cactus.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Greeter.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Pump.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Spring.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/settings.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/PlumberMoveWindow.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/Player.java +/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/program/main/NomadPipeInWindow.java diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 0000000..e69de29 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 new file mode 100644 index 0000000..fd5538d --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -0,0 +1 @@ +/Users/macbook/Documents/iet-hf-2024-favagok/src/test/java/program/GreeterTest.java diff --git a/target/original-gs-maven-0.1.0.jar b/target/original-gs-maven-0.1.0.jar new file mode 100644 index 0000000..ea41998 Binary files /dev/null and b/target/original-gs-maven-0.1.0.jar differ diff --git a/target/site/css/maven-base.css b/target/site/css/maven-base.css new file mode 100644 index 0000000..45dc441 --- /dev/null +++ b/target/site/css/maven-base.css @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +body { + margin: 0px; + padding: 0px; +} +table { + padding:0px; + width: 100%; + margin-left: -2px; + margin-right: -2px; +} +acronym { + cursor: help; + border-bottom: 1px dotted #feb; +} +table.bodyTable th, table.bodyTable td { + padding: 2px 4px 2px 4px; + vertical-align: top; +} +div.clear { + clear:both; + visibility: hidden; +} +div.clear hr { + display: none; +} +#bannerLeft, #bannerRight { + font-size: xx-large; + font-weight: bold; +} +#bannerLeft img, #bannerRight img { + margin: 0px; +} +.xleft, #bannerLeft img { + float:left; +} +.xright, #bannerRight { + float:right; +} +#banner { + padding: 0px; +} +#breadcrumbs { + padding: 3px 10px 3px 10px; +} +#leftColumn { + width: 170px; + float:left; + overflow: auto; +} +#bodyColumn { + margin-right: 1.5em; + margin-left: 197px; +} +#legend { + padding: 8px 0 8px 0; +} +#navcolumn { + padding: 8px 4px 0 8px; +} +#navcolumn h5 { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn ul { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn li { + list-style-type: none; + background-image: none; + background-repeat: no-repeat; + background-position: 0 0.4em; + padding-left: 16px; + list-style-position: outside; + line-height: 1.2em; + font-size: smaller; +} +#navcolumn li.expanded { + background-image: url(../images/expanded.gif); +} +#navcolumn li.collapsed { + background-image: url(../images/collapsed.gif); +} +#navcolumn li.none { + text-indent: -1em; + margin-left: 1em; +} +#poweredBy { + text-align: center; +} +#navcolumn img { + margin-top: 10px; + margin-bottom: 3px; +} +#poweredBy img { + display:block; + margin: 20px 0 20px 17px; +} +#search img { + margin: 0px; + display: block; +} +#search #q, #search #btnG { + border: 1px solid #999; + margin-bottom:10px; +} +#search form { + margin: 0px; +} +#lastPublished { + font-size: x-small; +} +.navSection { + margin-bottom: 2px; + padding: 8px; +} +.navSectionHead { + font-weight: bold; + font-size: x-small; +} +.section { + padding: 4px; +} +#footer { + padding: 3px 10px 3px 10px; + font-size: x-small; +} +#breadcrumbs { + font-size: x-small; + margin: 0pt; +} +.source { + padding: 12px; + margin: 1em 7px 1em 7px; +} +.source pre { + margin: 0px; + padding: 0px; +} +#navcolumn img.imageLink, .imageLink { + padding-left: 0px; + padding-bottom: 0px; + padding-top: 0px; + padding-right: 2px; + border: 0px; + margin: 0px; +} diff --git a/target/site/css/maven-theme.css b/target/site/css/maven-theme.css new file mode 100644 index 0000000..d3407e8 --- /dev/null +++ b/target/site/css/maven-theme.css @@ -0,0 +1,161 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +body { + padding: 0px 0px 10px 0px; +} +body, td, select, input, li{ + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 13px; +} +code{ + font-family: Courier, monospace; + font-size: 13px; +} +a { + text-decoration: none; +} +a:link { + color:#36a; +} +a:visited { + color:#47a; +} +a:active, a:hover { + color:#69c; +} +#legend li.externalLink { + background: url(../images/external.png) left top no-repeat; + padding-left: 18px; +} +a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { + background: url(../images/external.png) right center no-repeat; + padding-right: 18px; +} +#legend li.newWindow { + background: url(../images/newwindow.png) left top no-repeat; + padding-left: 18px; +} +a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { + background: url(../images/newwindow.png) right center no-repeat; + padding-right: 18px; +} +h2 { + padding: 4px 4px 4px 6px; + border: 1px solid #999; + color: #900; + background-color: #ddd; + font-weight:900; + font-size: x-large; +} +h3 { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + color: #900; + background-color: #eee; + font-weight: normal; + font-size: large; +} +h4 { + padding: 4px 4px 4px 6px; + border: 1px solid #bbb; + color: #900; + background-color: #fff; + font-weight: normal; + font-size: large; +} +h5 { + padding: 4px 4px 4px 6px; + color: #900; + font-size: medium; +} +p { + line-height: 1.3em; + font-size: small; +} +#breadcrumbs { + border-top: 1px solid #aaa; + border-bottom: 1px solid #aaa; + background-color: #ccc; +} +#leftColumn { + margin: 10px 0 0 5px; + border: 1px solid #999; + background-color: #eee; + padding-bottom: 3px; /* IE-9 scrollbar-fix */ +} +#navcolumn h5 { + font-size: smaller; + border-bottom: 1px solid #aaaaaa; + padding-top: 2px; + color: #000; +} + +table.bodyTable th { + color: white; + background-color: #bbb; + text-align: left; + font-weight: bold; +} + +table.bodyTable th, table.bodyTable td { + font-size: 1em; +} + +table.bodyTable tr.a { + background-color: #ddd; +} + +table.bodyTable tr.b { + background-color: #eee; +} + +.source { + border: 1px solid #999; +} +dl { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + background-color: #ffc; +} +dt { + color: #900; +} +#organizationLogo img, #projectLogo img, #projectLogo span{ + margin: 8px; +} +#banner { + border-bottom: 1px solid #fff; +} +.errormark, .warningmark, .donemark, .infomark { + background: url(../images/icon_error_sml.gif) no-repeat; +} + +.warningmark { + background-image: url(../images/icon_warning_sml.gif); +} + +.donemark { + background-image: url(../images/icon_success_sml.gif); +} + +.infomark { + background-image: url(../images/icon_info_sml.gif); +} + diff --git a/target/site/css/print.css b/target/site/css/print.css new file mode 100644 index 0000000..18fcbad --- /dev/null +++ b/target/site/css/print.css @@ -0,0 +1,26 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { + display: none !important; +} +#bodyColumn, body.docs div.docs { + margin: 0 !important; + border: none !important +} diff --git a/target/site/css/site.css b/target/site/css/site.css new file mode 100644 index 0000000..055e7e2 --- /dev/null +++ b/target/site/css/site.css @@ -0,0 +1 @@ +/* You can override this file with your own styles */ \ No newline at end of file diff --git a/target/site/dependencies.html b/target/site/dependencies.html new file mode 100644 index 0000000..d87a17e --- /dev/null +++ b/target/site/dependencies.html @@ -0,0 +1,298 @@ + + + + + + + + gs-maven – Project Dependencies + + + + + + + + +
+ +
+
+
+
+

Project Dependencies

+

compile

+

The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:

+ + + + + + + + + + + + + + + + + + + + + + + + +
GroupIdArtifactIdVersionTypeLicenses
javax.xml.bindjaxb-api2.3.0jarCDDL 1.1GPL2 w/ CPE
joda-timejoda-time2.9.2jarApache 2
org.apache.commonscommons-imaging1.0-alpha2jarApache License, Version 2.0
+

test

+

The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:

+ + + + + + + + + + + + +
GroupIdArtifactIdVersionTypeLicenses
junitjunit4.12jarEclipse Public License 1.0
+

Project Transitive Dependencies

+

The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.

+

test

+

The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:

+ + + + + + + + + + + + +
GroupIdArtifactIdVersionTypeLicenses
org.hamcresthamcrest-core1.3jarNew BSD License
+

Project Dependency Graph

+

Dependency Tree

+
+

Licenses

+

Apache 2: Joda-Time

+

CDDL 1.1: jaxb-api

+

Unknown: gs-maven

+

Eclipse Public License 1.0: JUnit

+

Apache License, Version 2.0: Apache Commons Imaging

+

GPL2 w/ CPE: jaxb-api

+

New BSD License: Hamcrest Core

+

Dependency File Details

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FilenameSizeEntriesClassesPackagesJava VersionDebug Information
jaxb-api-2.3.0.jar125.6 kB13611179Yes
joda-time-2.9.2.jar625.6 kB75224671.5Yes
junit-4.12.jar314.9 kB323286301.5Yes
commons-imaging-1.0-alpha2.jar770.3 kB486431411.8Yes
hamcrest-core-1.3.jar45 kB524531.5Yes
TotalSizeEntriesClassesPackagesJava VersionDebug Information
51.9 MB174911198895
compile: 3compile: 1.5 MBcompile: 1374compile: 788compile: 559compile: 3
test: 2test: 360 kBtest: 375test: 331test: 331.5test: 2
+
+
+
+
+
+ + + diff --git a/target/site/dependency-info.html b/target/site/dependency-info.html new file mode 100644 index 0000000..c9f5c15 --- /dev/null +++ b/target/site/dependency-info.html @@ -0,0 +1,99 @@ + + + + + + + + gs-maven – Dependency Information + + + + + + + + +
+ +
+
+
+
+

Dependency Information

+

Apache Maven

+
+
<dependency>
+  <groupId>org.springframework</groupId>
+  <artifactId>gs-maven</artifactId>
+  <version>0.1.0</version>
+</dependency>
+

Apache Ivy

+
+
<dependency org="org.springframework" name="gs-maven" rev="0.1.0">
+  <artifact name="gs-maven" type="jar" />
+</dependency>
+

Groovy Grape

+
+
@Grapes(
+@Grab(group='org.springframework', module='gs-maven', version='0.1.0')
+)
+

Gradle/Grails

+
+
implementation 'org.springframework:gs-maven:0.1.0'
+

Scala SBT

+
+
libraryDependencies += "org.springframework" % "gs-maven" % "0.1.0"
+

Leiningen

+
+
[org.springframework/gs-maven "0.1.0"]
+
+
+
+
+
+ + + diff --git a/target/site/images/close.gif b/target/site/images/close.gif new file mode 100644 index 0000000..1c26bbc Binary files /dev/null and b/target/site/images/close.gif differ diff --git a/target/site/images/collapsed.gif b/target/site/images/collapsed.gif new file mode 100644 index 0000000..6e71084 Binary files /dev/null and b/target/site/images/collapsed.gif differ diff --git a/target/site/images/expanded.gif b/target/site/images/expanded.gif new file mode 100644 index 0000000..0fef3d8 Binary files /dev/null and b/target/site/images/expanded.gif differ diff --git a/target/site/images/external.png b/target/site/images/external.png new file mode 100644 index 0000000..3f999fc Binary files /dev/null and b/target/site/images/external.png differ diff --git a/target/site/images/icon_error_sml.gif b/target/site/images/icon_error_sml.gif new file mode 100644 index 0000000..61132ef Binary files /dev/null and b/target/site/images/icon_error_sml.gif differ diff --git a/target/site/images/icon_info_sml.gif b/target/site/images/icon_info_sml.gif new file mode 100644 index 0000000..c6cb9ad Binary files /dev/null and b/target/site/images/icon_info_sml.gif differ diff --git a/target/site/images/icon_success_sml.gif b/target/site/images/icon_success_sml.gif new file mode 100644 index 0000000..52e85a4 Binary files /dev/null and b/target/site/images/icon_success_sml.gif differ diff --git a/target/site/images/icon_warning_sml.gif b/target/site/images/icon_warning_sml.gif new file mode 100644 index 0000000..873bbb5 Binary files /dev/null and b/target/site/images/icon_warning_sml.gif differ diff --git a/target/site/images/logos/build-by-maven-black.png b/target/site/images/logos/build-by-maven-black.png new file mode 100644 index 0000000..919fd0f Binary files /dev/null and b/target/site/images/logos/build-by-maven-black.png differ diff --git a/target/site/images/logos/build-by-maven-white.png b/target/site/images/logos/build-by-maven-white.png new file mode 100644 index 0000000..7d44c9c Binary files /dev/null and b/target/site/images/logos/build-by-maven-white.png differ diff --git a/target/site/images/logos/maven-feather.png b/target/site/images/logos/maven-feather.png new file mode 100644 index 0000000..b5ada83 Binary files /dev/null and b/target/site/images/logos/maven-feather.png differ diff --git a/target/site/images/newwindow.png b/target/site/images/newwindow.png new file mode 100644 index 0000000..6287f72 Binary files /dev/null and b/target/site/images/newwindow.png differ diff --git a/target/site/index.html b/target/site/index.html new file mode 100644 index 0000000..b3d31f4 --- /dev/null +++ b/target/site/index.html @@ -0,0 +1,74 @@ + + + + + + + + gs-maven – About + + + + + + + + + +
+
+
+

About gs-maven

+

There is currently no description associated with this project.

+
+
+
+
+
+ + + diff --git a/target/site/plugin-management.html b/target/site/plugin-management.html new file mode 100644 index 0000000..cd96198 --- /dev/null +++ b/target/site/plugin-management.html @@ -0,0 +1,94 @@ + + + + + + + + gs-maven – Project Plugin Management + + + + + + + + +
+ +
+
+
+
+

Project Plugin Management

+ + + + + + + + + + + + + + + + + + + + +
GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-antrun-plugin3.1.0
org.apache.maven.pluginsmaven-assembly-plugin3.6.0
org.apache.maven.pluginsmaven-dependency-plugin3.6.1
org.apache.maven.pluginsmaven-release-plugin3.0.1
+
+
+
+
+
+ + + diff --git a/target/site/plugins.html b/target/site/plugins.html new file mode 100644 index 0000000..241264a --- /dev/null +++ b/target/site/plugins.html @@ -0,0 +1,128 @@ + + + + + + + + gs-maven – Project Plugins + + + + + + + + +
+ +
+
+
+
+

Project Build Plugins

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-clean-plugin3.2.0
org.apache.maven.pluginsmaven-compiler-plugin3.11.0
org.apache.maven.pluginsmaven-deploy-plugin3.1.1
org.apache.maven.pluginsmaven-install-plugin3.1.1
org.apache.maven.pluginsmaven-jar-plugin3.3.0
org.apache.maven.pluginsmaven-resources-plugin3.3.1
org.apache.maven.pluginsmaven-shade-plugin3.2.4
org.apache.maven.pluginsmaven-site-plugin3.12.1
org.apache.maven.pluginsmaven-surefire-plugin3.2.2
+

Project Report Plugins

+ + + + + + + + + + + + +
GroupIdArtifactIdVersion
com.github.spotbugsspotbugs-maven-plugin4.8.5.0
org.apache.maven.pluginsmaven-project-info-reports-plugin3.5.0
+
+
+
+
+
+ + + diff --git a/target/site/project-info.html b/target/site/project-info.html new file mode 100644 index 0000000..755c4e8 --- /dev/null +++ b/target/site/project-info.html @@ -0,0 +1,97 @@ + + + + + + + + gs-maven – Project Information + + + + + + + + +
+ +
+
+
+
+

Project Information

+

This document provides an overview of the various documents and links that are part of this project's general information. All of this content is automatically generated by Maven on behalf of the project.

+

Overview

+ + + + + + + + + + + + + + + + + + + + + +
DocumentDescription
DependenciesThis document lists the project's dependencies and provides information on each dependency.
Dependency InformationThis document describes how to include this project as a dependency using various dependency management tools.
AboutThere is currently no description associated with this project.
Plugin ManagementThis document lists the plugins that are defined through pluginManagement.
PluginsThis document lists the build plugins and the report plugins used by this project.
SummaryThis document lists other related information of this project
+
+
+
+
+
+ + + diff --git a/target/site/project-reports.html b/target/site/project-reports.html new file mode 100644 index 0000000..d7cb277 --- /dev/null +++ b/target/site/project-reports.html @@ -0,0 +1,77 @@ + + + + + + + + gs-maven – Generated Reports + + + + + + + + +
+ +
+
+
+
+

Generated Reports

+

This document provides an overview of the various reports that are automatically generated by Maven . Each report is briefly described below.

+

Overview

+ + + + + + +
DocumentDescription
SpotBugsGenerates a source code report with the SpotBugs Library.
+
+
+
+
+
+ + + diff --git a/target/site/spotbugs.html b/target/site/spotbugs.html new file mode 100644 index 0000000..5375b72 --- /dev/null +++ b/target/site/spotbugs.html @@ -0,0 +1,844 @@ + + + + + + + + gs-maven – SpotBugs Bug Detector Report + + + + + + + + +
+ +
+
+
+
+

SpotBugs Bug Detector Report

+

The following document contains the results of SpotBugs

+

SpotBugs Version is 4.8.5

+

Threshold is medium

+

Effort is default

+

Summary

+ + + + + + + + + + +
ClassesBugsErrorsMissing Classes
428100
+

Files

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassBugs
program.main.Cactus1
program.main.Controller15
program.main.Field3
program.main.Game9
program.main.GamePanel1
program.main.GameWindow2
program.main.ImagePanel1
program.main.InGame1
program.main.NomadButtonPanel1
program.main.NomadMoveWindow1
program.main.NomadPipeInteraction1
program.main.Pipe9
program.main.Player10
program.main.Plumber4
program.main.PlumberButtonPanel1
program.main.PlumberMoveWindow1
program.main.PlumberPipeInteraction1
program.main.Pump10
program.main.Spring1
program.main.restart_menu2
program.main.settings1
program.main.settings$11
program.main.settings$21
program.main.startMenu2
program.main.startMenu$31
+

program.main.Cactus

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Random object created and used only once in new program.main.Cactus(String)BAD_PRACTICEDMI_RANDOM_USED_ONLY_ONCE24High
+

program.main.Controller

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Random object created and used only once in program.main.Controller.destroyPump()BAD_PRACTICEDMI_RANDOM_USED_ONLY_ONCE267High
program.main.Controller.CurrentNomadTurn() may expose internal representation by returning Controller.CurrentNomadMALICIOUS_CODEEI_EXPOSE_REP120Medium
program.main.Controller.CurrentPlumberTurn() may expose internal representation by returning Controller.CurrentPlumberMALICIOUS_CODEEI_EXPOSE_REP129Medium
Public static program.main.Controller.getCurrentNomad() may expose internal representation by returning Controller.CurrentNomadMALICIOUS_CODEMS_EXPOSE_REP66Medium
Public static program.main.Controller.getCurrentPlumber() may expose internal representation by returning Controller.CurrentPlumberMALICIOUS_CODEMS_EXPOSE_REP57Medium
The method name program.main.Controller.CurrentNomadTurn() doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION120Medium
The method name program.main.Controller.CurrentPlumberTurn() doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION129Medium
Write to static field program.main.Controller.CurrentNomad from instance method program.main.Controller.turn()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD181Medium
Write to static field program.main.Controller.CurrentPlumber from instance method program.main.Controller.turn()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD148Medium
Write to static field program.main.Controller.CurrentTurnIsNomad from instance method program.main.Controller.turn()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD174Medium
Write to static field program.main.Controller.GameOver from instance method program.main.Controller.turn()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD138Medium
Unused field: program.main.Controller.nomadCoolDownPERFORMANCEUUF_UNUSED_FIELDMedium
Unused field: program.main.Controller.plumberCoolDownPERFORMANCEUUF_UNUSED_FIELDMedium
+

program.main.Field

+ + + + + + + + + + + + + + + + + + + + + + + + +
BugCategoryDetailsLinePriority
The method name program.main.Field.GetName() doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION27Medium
The method name program.main.Field.SetName(String) doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION21Medium
The method name program.main.Field.SpareWater() doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTIONMedium
+

program.main.Game

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BugCategoryDetailsLinePriority
program.main.Game.run() invokes System.exit(...), which shuts down the entire virtual machineBAD_PRACTICEDM_EXIT230Medium
program.main.Game.Cactuses() may expose internal representation by returning Game.cactusesMALICIOUS_CODEEI_EXPOSE_REP133Medium
program.main.Game.Fields() may expose internal representation by returning Game.fieldsMALICIOUS_CODEEI_EXPOSE_REP129Medium
program.main.Game.Nomads() may expose internal representation by returning Game.nomadsMALICIOUS_CODEEI_EXPOSE_REP109Medium
program.main.Game.Pipes() may expose internal representation by returning Game.pipesMALICIOUS_CODEEI_EXPOSE_REP178Medium
program.main.Game.Plumbers() may expose internal representation by returning Game.plumbersMALICIOUS_CODEEI_EXPOSE_REP119Medium
program.main.Game.getGameWindow() may expose internal representation by returning Game.gameWindowMALICIOUS_CODEEI_EXPOSE_REP242Medium
Primitive field program.main.Game.gamePanel is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility.BAD_PRACTICEPA_PUBLIC_PRIMITIVE_ATTRIBUTE140Medium
Primitive field program.main.Game.nomadButtonPanel is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility.BAD_PRACTICEPA_PUBLIC_PRIMITIVE_ATTRIBUTE182Medium
Primitive field program.main.Game.plumberButtonPanel is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility.BAD_PRACTICEPA_PUBLIC_PRIMITIVE_ATTRIBUTE149Medium
Unread field: program.main.Game.FPS_SET; should this field be static?PERFORMANCESS_SHOULD_BE_STATIC35Medium
Unread field: program.main.Game.UPS_SET; should this field be static?PERFORMANCESS_SHOULD_BE_STATIC36Medium
+

program.main.GamePanel

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Write to static field program.main.GamePanel.game from instance method new program.main.GamePanel(Game)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD25High
+

program.main.GameWindow

+ + + + + + + + + + + + + + + + + + +
BugCategoryDetailsLinePriority
program.main.GameWindow.getNomadButtonPanel() may expose internal representation by returning GameWindow.nomadButtonPanelMALICIOUS_CODEEI_EXPOSE_REP15Medium
program.main.GameWindow.getPlumberButtonPanel() may expose internal representation by returning GameWindow.plumberButtonPanelMALICIOUS_CODEEI_EXPOSE_REP19Medium
+

program.main.ImagePanel

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
new program.main.ImagePanel(BufferedImage) may expose internal representation by storing an externally mutable object into ImagePanel.imageMALICIOUS_CODEEI_EXPOSE_REP218Medium
+

program.main.InGame

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Unread field: program.main.InGame.gameOverPERFORMANCEURF_UNREAD_FIELD13Medium
+

program.main.NomadButtonPanel

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Dead store to $L3 in program.main.NomadButtonPanel.actionPerformed(ActionEvent)STYLEDLS_DEAD_LOCAL_STORE91High
+

program.main.NomadMoveWindow

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Dead store to ppi in program.main.NomadMoveWindow.actionPerformed(ActionEvent)STYLEDLS_DEAD_LOCAL_STORE69High
+

program.main.NomadPipeInteraction

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Write to static field program.main.NomadPipeInteraction.endturn from instance method program.main.NomadPipeInteraction.actionPerformed(ActionEvent)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD65Medium
+

program.main.Pipe

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Random object created and used only once in program.main.Pipe.canPlayerStep()BAD_PRACTICEDMI_RANDOM_USED_ONLY_ONCE488High
Random object created and used only once in program.main.Pipe.repair()BAD_PRACTICEDMI_RANDOM_USED_ONLY_ONCE518High
new program.main.Pipe(Pump, Plumber, String) may expose internal representation by storing an externally mutable object into Pipe.inPocketOfMALICIOUS_CODEEI_EXPOSE_REP267Medium
program.main.Pipe.pickedUp(Plumber) may expose internal representation by storing an externally mutable object into Pipe.inPocketOfMALICIOUS_CODEEI_EXPOSE_REP2202Medium
The method name program.main.Pipe.GetSlippery() doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION431Medium
The method name program.main.Pipe.GetSticky() doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION465Medium
The method name program.main.Pipe.SetTurnNotToSlippery(int) doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION421Medium
The method name program.main.Pipe.SpareWater() doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION387Medium
+

program.main.Player

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BugCategoryDetailsLinePriority
program.main.Player.getPicture() may expose internal representation by returning Player.file_picMALICIOUS_CODEEI_EXPOSE_REP383Medium
program.main.Player.getPosition() may expose internal representation by returning Player.currentPositionMALICIOUS_CODEEI_EXPOSE_REP175Medium
program.main.Player.getPreviousPosition() may expose internal representation by returning Player.previousPositionMALICIOUS_CODEEI_EXPOSE_REP370Medium
new program.main.Player(String, int, Pump, String) may expose internal representation by storing an externally mutable object into Player.currentPositionMALICIOUS_CODEEI_EXPOSE_REP235Medium
new program.main.Player(String, int, Pump, String) may expose internal representation by storing an externally mutable object into Player.previousPositionMALICIOUS_CODEEI_EXPOSE_REP231Medium
program.main.Player.setPosition(Pump) may expose internal representation by storing an externally mutable object into Player.currentPositionMALICIOUS_CODEEI_EXPOSE_REP2184Medium
Check for oddness that won't work for negative numbers in program.main.Player.render(Graphics)STYLEIM_BAD_CHECK_FOR_ODD57Medium
program.main.Player.game should be package protectedMALICIOUS_CODEMS_PKGPROTECTMedium
The method name program.main.Player.GetName() doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION73Medium
The method name program.main.Player.SetName(String) doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION83Medium
+

program.main.Plumber

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BugCategoryDetailsLinePriority
program.main.Plumber.getPipeInPocket() may expose internal representation by returning Plumber.pipeInPocketMALICIOUS_CODEEI_EXPOSE_REP202Medium
program.main.Plumber.getPumpInPocket() may expose internal representation by returning Plumber.pumpInPocketMALICIOUS_CODEEI_EXPOSE_REP192Medium
program.main.Plumber.setPipeInPocket(Pipe) may expose internal representation by storing an externally mutable object into Plumber.pipeInPocketMALICIOUS_CODEEI_EXPOSE_REP2159Medium
program.main.Plumber.setPumpInPocket(Pump) may expose internal representation by storing an externally mutable object into Plumber.pumpInPocketMALICIOUS_CODEEI_EXPOSE_REP2169Medium
+

program.main.PlumberButtonPanel

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Dead store to $L3 in program.main.PlumberButtonPanel.actionPerformed(ActionEvent)STYLEDLS_DEAD_LOCAL_STORE133Medium
+

program.main.PlumberMoveWindow

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Dead store to ppi in program.main.PlumberMoveWindow.actionPerformed(ActionEvent)STYLEDLS_DEAD_LOCAL_STORE68High
+

program.main.PlumberPipeInteraction

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Write to static field program.main.PlumberPipeInteraction.endturn from instance method program.main.PlumberPipeInteraction.actionPerformed(ActionEvent)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD73Medium
+

program.main.Pump

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Random object created and used only once in program.main.Pump.destroy()BAD_PRACTICEDMI_RANDOM_USED_ONLY_ONCE124High
program.main.Pump.getConnectedPipes() may expose internal representation by returning Pump.connectedPipesMALICIOUS_CODEEI_EXPOSE_REP429Medium
program.main.Pump.getPipeIn() may expose internal representation by returning Pump.inMALICIOUS_CODEEI_EXPOSE_REP224Medium
program.main.Pump.getPipeOut() may expose internal representation by returning Pump.outMALICIOUS_CODEEI_EXPOSE_REP233Medium
program.main.Pump.listNeighbours() may expose internal representation by returning Pump.neighboursMALICIOUS_CODEEI_EXPOSE_REP166Medium
program.main.Pump.changePipeIn(Pipe) may expose internal representation by storing an externally mutable object into Pump.inMALICIOUS_CODEEI_EXPOSE_REP2307Medium
program.main.Pump.changePipeOut(Pipe) may expose internal representation by storing an externally mutable object into Pump.outMALICIOUS_CODEEI_EXPOSE_REP2323Medium
The method name program.main.Pump.SpareWater() doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION378Medium
Class program.main.Pump defines non-transient non-serializable instance field file_picBAD_PRACTICESE_BAD_FIELDHigh
+

program.main.Spring

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
The method name program.main.Spring.SpareWater() doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION79Medium
+

program.main.restart_menu

+ + + + + + + + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Write to static field program.main.restart_menu.quit_boolean from instance method new program.main.restart_menu()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD57Medium
Write to static field program.main.restart_menu.restart_boolean from instance method new program.main.restart_menu()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD58Medium
+

program.main.settings

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
The class name program.main.settings doesn't start with an upper case letterBAD_PRACTICENM_CLASS_NAMING_CONVENTION18Medium
+

program.main.settings$1

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
program.main.settings$1.actionPerformed(ActionEvent) might ignore java.lang.ExceptionBAD_PRACTICEDE_MIGHT_IGNORE111Medium
+

program.main.settings$2

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
program.main.settings$2.actionPerformed(ActionEvent) might ignore java.lang.ExceptionBAD_PRACTICEDE_MIGHT_IGNORE186Medium
+

program.main.startMenu

+ + + + + + + + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Found reliance on default encoding in program.main.startMenu.StoryBoard(): new java.util.Scanner(File)I18NDM_DEFAULT_ENCODING160High
The class name program.main.startMenu doesn't start with an upper case letterBAD_PRACTICENM_CLASS_NAMING_CONVENTION14Medium
+

program.main.startMenu$3

+ + + + + + + + + + + + +
BugCategoryDetailsLinePriority
Dead store to settingswindow in program.main.startMenu$3.actionPerformed(ActionEvent)STYLEDLS_DEAD_LOCAL_STORE195High
+
+
+
+
+
+ + + diff --git a/target/site/summary.html b/target/site/summary.html new file mode 100644 index 0000000..33b44c0 --- /dev/null +++ b/target/site/summary.html @@ -0,0 +1,109 @@ + + + + + + + + gs-maven – Project Summary + + + + + + + + +
+ +
+
+
+
+

Project Summary

+

Project Information

+ + + + + + + + + + + + +
FieldValue
Namegs-maven
Description-
Homepage-
+

Project Organization

+

This project does not belong to an organization.

+

Build Information

+ + + + + + + + + + + + + + + + + + +
FieldValue
GroupIdorg.springframework
ArtifactIdgs-maven
Version0.1.0
Typejar
Java Version1.8
+
+
+
+
+
+ + + diff --git a/target/spotbugsXml.xml b/target/spotbugsXml.xml new file mode 100644 index 0000000..3bb9642 --- /dev/null +++ b/target/spotbugsXml.xml @@ -0,0 +1,159 @@ + +/Users/macbook/Documents/iet-hf-2024-favagok/target/classes/Users/macbook/.m2/repository/joda-time/joda-time/2.9.2/joda-time-2.9.2.jar/Users/macbook/.m2/repository/org/apache/commons/commons-imaging/1.0-alpha2/commons-imaging-1.0-alpha2.jar/Users/macbook/.m2/repository/javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.jar/Users/macbook/Documents/iet-hf-2024-favagok/src/main/java/Users/macbook/Documents/iet-hf-2024-favagok/targetRandom object created and used only onceRandom object created and used only once in new program.main.Cactus(String)At Cactus.java:[lines 20-41]In class program.main.CactusIn method new program.main.Cactus(String)Called method java.util.Random.nextInt(int)At Cactus.java:[line 24]Another occurrence at Cactus.java:[line 26]Another occurrence at Cactus.java:[line 27]Random object created and used only onceRandom object created and used only once in program.main.Controller.destroyPump()At Controller.java:[lines 9-284]In class program.main.ControllerIn method program.main.Controller.destroyPump()Called method java.util.Random.nextInt(int)At Controller.java:[line 267]May expose internal representation by returning reference to mutable objectprogram.main.Controller.CurrentNomadTurn() may expose internal representation by returning Controller.CurrentNomadAt Controller.java:[lines 9-284]In class program.main.ControllerIn method program.main.Controller.CurrentNomadTurn()In Controller.javaField program.main.Controller.CurrentNomadAt Controller.java:[line 120]May expose internal representation by returning reference to mutable objectprogram.main.Controller.CurrentPlumberTurn() may expose internal representation by returning Controller.CurrentPlumberAt Controller.java:[lines 9-284]In class program.main.ControllerIn method program.main.Controller.CurrentPlumberTurn()In Controller.javaField program.main.Controller.CurrentPlumberAt Controller.java:[line 129]Public static method may expose internal representation by returning a mutable object or arrayPublic static program.main.Controller.getCurrentNomad() may expose internal representation by returning Controller.CurrentNomadAt Controller.java:[lines 9-284]In class program.main.ControllerIn method program.main.Controller.getCurrentNomad()In Controller.javaField program.main.Controller.CurrentNomadAt Controller.java:[line 66]Public static method may expose internal representation by returning a mutable object or arrayPublic static program.main.Controller.getCurrentPlumber() may expose internal representation by returning Controller.CurrentPlumberAt Controller.java:[lines 9-284]In class program.main.ControllerIn method program.main.Controller.getCurrentPlumber()In Controller.javaField program.main.Controller.CurrentPlumberAt Controller.java:[line 57]Method names should start with a lower case letterThe method name program.main.Controller.CurrentNomadTurn() doesn't start with a lower case letterAt Controller.java:[lines 9-284]In class program.main.ControllerIn method program.main.Controller.CurrentNomadTurn()At Controller.java:[line 120]Method names should start with a lower case letterThe method name program.main.Controller.CurrentPlumberTurn() doesn't start with a lower case letterAt Controller.java:[lines 9-284]In class program.main.ControllerIn method program.main.Controller.CurrentPlumberTurn()At Controller.java:[line 129]Write to static field from instance methodWrite to static field program.main.Controller.CurrentNomad from instance method program.main.Controller.turn()At Controller.java:[lines 9-284]In class program.main.ControllerIn method program.main.Controller.turn()In Controller.javaField program.main.Controller.CurrentNomadAt Controller.java:[line 181]Another occurrence at Controller.java:[line 183]Write to static field from instance methodWrite to static field program.main.Controller.CurrentPlumber from instance method program.main.Controller.turn()At Controller.java:[lines 9-284]In class program.main.ControllerIn method program.main.Controller.turn()In Controller.javaField program.main.Controller.CurrentPlumberAt Controller.java:[line 148]Another occurrence at Controller.java:[line 150]Write to static field from instance methodWrite to static field program.main.Controller.CurrentTurnIsNomad from instance method program.main.Controller.turn()At Controller.java:[lines 9-284]In class program.main.ControllerIn method program.main.Controller.turn()In Controller.javaField program.main.Controller.CurrentTurnIsNomadAt Controller.java:[line 174]Another occurrence at Controller.java:[line 206]Write to static field from instance methodWrite to static field program.main.Controller.GameOver from instance method program.main.Controller.turn()At Controller.java:[lines 9-284]In class program.main.ControllerIn method program.main.Controller.turn()In Controller.javaField program.main.Controller.GameOverAt Controller.java:[line 138]Unused fieldUnused field: program.main.Controller.nomadCoolDownAt Controller.java:[lines 9-284]In class program.main.ControllerIn Controller.javaField program.main.Controller.nomadCoolDownIn Controller.javaUnused fieldUnused field: program.main.Controller.plumberCoolDownAt Controller.java:[lines 9-284]In class program.main.ControllerIn Controller.javaField program.main.Controller.plumberCoolDownIn Controller.javaMethod names should start with a lower case letterThe method name program.main.Field.GetName() doesn't start with a lower case letterAt Field.java:[lines 11-167]In class program.main.FieldIn method program.main.Field.GetName()At Field.java:[line 27]Method names should start with a lower case letterThe method name program.main.Field.SetName(String) doesn't start with a lower case letterAt Field.java:[lines 11-167]In class program.main.FieldIn method program.main.Field.SetName(String)At Field.java:[lines 21-23]Method names should start with a lower case letterThe method name program.main.Field.SpareWater() doesn't start with a lower case letterAt Field.java:[lines 11-167]In class program.main.FieldIn method program.main.Field.SpareWater()In Field.javaMethod invokes System.exit(...)program.main.Game.run() invokes System.exit(...), which shuts down the entire virtual machineAt Game.java:[lines 29-242]In class program.main.GameIn method program.main.Game.run()At Game.java:[line 230]May expose internal representation by returning reference to mutable objectprogram.main.Game.Cactuses() may expose internal representation by returning Game.cactusesAt Game.java:[lines 29-242]In class program.main.GameIn method program.main.Game.Cactuses()In Game.javaField program.main.Game.cactusesAt Game.java:[line 133]May expose internal representation by returning reference to mutable objectprogram.main.Game.Fields() may expose internal representation by returning Game.fieldsAt Game.java:[lines 29-242]In class program.main.GameIn method program.main.Game.Fields()In Game.javaField program.main.Game.fieldsAt Game.java:[line 129]May expose internal representation by returning reference to mutable objectprogram.main.Game.Nomads() may expose internal representation by returning Game.nomadsAt Game.java:[lines 29-242]In class program.main.GameIn method program.main.Game.Nomads()In Game.javaField program.main.Game.nomadsAt Game.java:[line 109]May expose internal representation by returning reference to mutable objectprogram.main.Game.Pipes() may expose internal representation by returning Game.pipesAt Game.java:[lines 29-242]In class program.main.GameIn method program.main.Game.Pipes()In Game.javaField program.main.Game.pipesAt Game.java:[line 178]May expose internal representation by returning reference to mutable objectprogram.main.Game.Plumbers() may expose internal representation by returning Game.plumbersAt Game.java:[lines 29-242]In class program.main.GameIn method program.main.Game.Plumbers()In Game.javaField program.main.Game.plumbersAt Game.java:[line 119]May expose internal representation by returning reference to mutable objectprogram.main.Game.getGameWindow() may expose internal representation by returning Game.gameWindowAt Game.java:[lines 29-242]In class program.main.GameIn method program.main.Game.getGameWindow()In Game.javaField program.main.Game.gameWindowAt Game.java:[line 242]Primitive field is publicPrimitive field program.main.Game.gamePanel is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility.At Game.java:[lines 29-242]In class program.main.GameIn Game.javaField program.main.Game.gamePanelAt Pump.java:[line 140]Primitive field is publicPrimitive field program.main.Game.nomadButtonPanel is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility.At Game.java:[lines 29-242]In class program.main.GameIn Game.javaField program.main.Game.nomadButtonPanelAt Controller.java:[line 182]Primitive field is publicPrimitive field program.main.Game.plumberButtonPanel is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility.At Game.java:[lines 29-242]In class program.main.GameIn Game.javaField program.main.Game.plumberButtonPanelAt Controller.java:[line 149]Unread field: should this field be static?Unread field: program.main.Game.FPS_SET; should this field be static?At Game.java:[lines 29-242]In class program.main.GameIn Game.javaField program.main.Game.FPS_SETAt Game.java:[line 35]Unread field: should this field be static?Unread field: program.main.Game.UPS_SET; should this field be static?At Game.java:[lines 29-242]In class program.main.GameIn Game.javaField program.main.Game.UPS_SETAt Game.java:[line 36]Write to static field from instance methodWrite to static field program.main.GamePanel.game from instance method new program.main.GamePanel(Game)At GamePanel.java:[lines 14-91]In class program.main.GamePanelIn method new program.main.GamePanel(Game)In GamePanel.javaField program.main.GamePanel.gameAt GamePanel.java:[line 25]May expose internal representation by returning reference to mutable objectprogram.main.GameWindow.getNomadButtonPanel() may expose internal representation by returning GameWindow.nomadButtonPanelAt GameWindow.java:[lines 15-42]In class program.main.GameWindowIn method program.main.GameWindow.getNomadButtonPanel()In GameWindow.javaField program.main.GameWindow.nomadButtonPanelAt GameWindow.java:[line 15]May expose internal representation by returning reference to mutable objectprogram.main.GameWindow.getPlumberButtonPanel() may expose internal representation by returning GameWindow.plumberButtonPanelAt GameWindow.java:[lines 15-42]In class program.main.GameWindowIn method program.main.GameWindow.getPlumberButtonPanel()In GameWindow.javaField program.main.GameWindow.plumberButtonPanelAt GameWindow.java:[line 19]May expose internal representation by incorporating reference to mutable objectnew program.main.ImagePanel(BufferedImage) may expose internal representation by storing an externally mutable object into ImagePanel.imageAt ImagePanel.java:[lines 16-30]In class program.main.ImagePanelIn method new program.main.ImagePanel(BufferedImage)In ImagePanel.javaField program.main.ImagePanel.imageLocal variable named fAt ImagePanel.java:[line 18]Unread fieldUnread field: program.main.InGame.gameOverAt InGame.java:[lines 13-127]In class program.main.InGameIn InGame.javaField program.main.InGame.gameOverAt InGame.java:[line 13]Field isn't final but should beprogram.main.Main.game isn't final but should beAt Main.java:[lines 17-33]In class program.main.MainIn Main.javaField program.main.Main.gameAt Pipe.java:[line 15]Dead store to local variableDead store to $L3 in program.main.NomadButtonPanel.actionPerformed(ActionEvent)At NomadButtonPanel.java:[lines 13-94]In class program.main.NomadButtonPanelIn method program.main.NomadButtonPanel.actionPerformed(ActionEvent)Local variable stored in JVM register 3At NomadButtonPanel.java:[line 91]Another occurrence at NomadButtonPanel.java:[line 83]Another occurrence at NomadButtonPanel.java:[line 87]Dead store to local variableDead store to ppi in program.main.NomadMoveWindow.actionPerformed(ActionEvent)At NomadMoveWindow.java:[lines 17-70]In class program.main.NomadMoveWindowIn method program.main.NomadMoveWindow.actionPerformed(ActionEvent)Local variable named ppiAt NomadMoveWindow.java:[line 69]Write to static field from instance methodWrite to static field program.main.NomadPipeInteraction.endturn from instance method program.main.NomadPipeInteraction.actionPerformed(ActionEvent)At NomadPipeInteraction.java:[lines 13-84]In class program.main.NomadPipeInteractionIn method program.main.NomadPipeInteraction.actionPerformed(ActionEvent)In NomadPipeInteraction.javaField program.main.NomadPipeInteraction.endturnAt NomadPipeInteraction.java:[line 65]Random object created and used only onceRandom object created and used only once in program.main.Pipe.canPlayerStep()At Pipe.java:[lines 15-968]In class program.main.PipeIn method program.main.Pipe.canPlayerStep()Called method java.util.Random.nextInt(int)At Pipe.java:[line 488]Random object created and used only onceRandom object created and used only once in program.main.Pipe.repair()At Pipe.java:[lines 15-968]In class program.main.PipeIn method program.main.Pipe.repair()Called method java.util.Random.nextInt(int)At Pipe.java:[line 518]May expose internal representation by incorporating reference to mutable objectnew program.main.Pipe(Pump, Plumber, String) may expose internal representation by storing an externally mutable object into Pipe.inPocketOfAt Pipe.java:[lines 15-968]In class program.main.PipeIn method new program.main.Pipe(Pump, Plumber, String)In Pipe.javaField program.main.Pipe.inPocketOfLocal variable named plumberAt Pipe.java:[line 67]May expose internal representation by incorporating reference to mutable objectprogram.main.Pipe.pickedUp(Plumber) may expose internal representation by storing an externally mutable object into Pipe.inPocketOfAt Pipe.java:[lines 15-968]In class program.main.PipeIn method program.main.Pipe.pickedUp(Plumber)In Pipe.javaField program.main.Pipe.inPocketOfLocal variable named plumberAt Pipe.java:[line 202]Method names should start with a lower case letterThe method name program.main.Pipe.GetSlippery() doesn't start with a lower case letterAt Pipe.java:[lines 15-968]In class program.main.PipeIn method program.main.Pipe.GetSlippery()At Pipe.java:[lines 431-436]Method names should start with a lower case letterThe method name program.main.Pipe.GetSticky() doesn't start with a lower case letterAt Pipe.java:[lines 15-968]In class program.main.PipeIn method program.main.Pipe.GetSticky()At Pipe.java:[lines 465-468]Method names should start with a lower case letterThe method name program.main.Pipe.SetTurnNotToSlippery(int) doesn't start with a lower case letterAt Pipe.java:[lines 15-968]In class program.main.PipeIn method program.main.Pipe.SetTurnNotToSlippery(int)At Pipe.java:[lines 421-423]Method names should start with a lower case letterThe method name program.main.Pipe.SpareWater() doesn't start with a lower case letterAt Pipe.java:[lines 15-968]In class program.main.PipeIn method program.main.Pipe.SpareWater()At Pipe.java:[line 387]May expose internal representation by returning reference to mutable objectprogram.main.Player.getPicture() may expose internal representation by returning Player.file_picAt Player.java:[lines 29-383]In class program.main.PlayerIn method program.main.Player.getPicture()In Player.javaField program.main.Player.file_picAt Player.java:[line 383]May expose internal representation by returning reference to mutable objectprogram.main.Player.getPosition() may expose internal representation by returning Player.currentPositionAt Player.java:[lines 29-383]In class program.main.PlayerIn method program.main.Player.getPosition()In Player.javaField program.main.Player.currentPositionAt Player.java:[line 175]May expose internal representation by returning reference to mutable objectprogram.main.Player.getPreviousPosition() may expose internal representation by returning Player.previousPositionAt Player.java:[lines 29-383]In class program.main.PlayerIn method program.main.Player.getPreviousPosition()In Player.javaField program.main.Player.previousPositionAt Player.java:[line 370]May expose internal representation by incorporating reference to mutable objectnew program.main.Player(String, int, Pump, String) may expose internal representation by storing an externally mutable object into Player.currentPositionAt Player.java:[lines 29-383]In class program.main.PlayerIn method new program.main.Player(String, int, Pump, String)In Player.javaField program.main.Player.currentPositionLocal variable named currentPositionAt Player.java:[line 35]May expose internal representation by incorporating reference to mutable objectnew program.main.Player(String, int, Pump, String) may expose internal representation by storing an externally mutable object into Player.previousPositionAt Player.java:[lines 29-383]In class program.main.PlayerIn method new program.main.Player(String, int, Pump, String)In Player.javaField program.main.Player.previousPositionLocal variable named currentPositionAt Player.java:[line 31]May expose internal representation by incorporating reference to mutable objectprogram.main.Player.setPosition(Pump) may expose internal representation by storing an externally mutable object into Player.currentPositionAt Player.java:[lines 29-383]In class program.main.PlayerIn method program.main.Player.setPosition(Pump)In Player.javaField program.main.Player.currentPositionLocal variable named fAt Player.java:[line 184]Check for oddness that won't work for negative numbersCheck for oddness that won't work for negative numbers in program.main.Player.render(Graphics)At Player.java:[lines 29-383]In class program.main.PlayerIn method program.main.Player.render(Graphics)At Player.java:[line 57]Field should be package protectedprogram.main.Player.game should be package protectedAt Player.java:[lines 29-383]In class program.main.PlayerIn Player.javaField program.main.Player.gameIn Player.javaMethod names should start with a lower case letterThe method name program.main.Player.GetName() doesn't start with a lower case letterAt Player.java:[lines 29-383]In class program.main.PlayerIn method program.main.Player.GetName()At Player.java:[line 73]Method names should start with a lower case letterThe method name program.main.Player.SetName(String) doesn't start with a lower case letterAt Player.java:[lines 29-383]In class program.main.PlayerIn method program.main.Player.SetName(String)At Player.java:[lines 83-84]May expose internal representation by returning reference to mutable objectprogram.main.Plumber.getPipeInPocket() may expose internal representation by returning Plumber.pipeInPocketAt Plumber.java:[lines 24-207]In class program.main.PlumberIn method program.main.Plumber.getPipeInPocket()In Plumber.javaField program.main.Plumber.pipeInPocketAt Plumber.java:[line 202]May expose internal representation by returning reference to mutable objectprogram.main.Plumber.getPumpInPocket() may expose internal representation by returning Plumber.pumpInPocketAt Plumber.java:[lines 24-207]In class program.main.PlumberIn method program.main.Plumber.getPumpInPocket()In Plumber.javaField program.main.Plumber.pumpInPocketAt Plumber.java:[line 192]May expose internal representation by incorporating reference to mutable objectprogram.main.Plumber.setPipeInPocket(Pipe) may expose internal representation by storing an externally mutable object into Plumber.pipeInPocketAt Plumber.java:[lines 24-207]In class program.main.PlumberIn method program.main.Plumber.setPipeInPocket(Pipe)In Plumber.javaField program.main.Plumber.pipeInPocketLocal variable named pAt Plumber.java:[line 159]May expose internal representation by incorporating reference to mutable objectprogram.main.Plumber.setPumpInPocket(Pump) may expose internal representation by storing an externally mutable object into Plumber.pumpInPocketAt Plumber.java:[lines 24-207]In class program.main.PlumberIn method program.main.Plumber.setPumpInPocket(Pump)In Plumber.javaField program.main.Plumber.pumpInPocketLocal variable named pumpAt Plumber.java:[line 169]Dead store to local variableDead store to $L3 in program.main.PlumberButtonPanel.actionPerformed(ActionEvent)At PlumberButtonPanel.java:[lines 14-142]In class program.main.PlumberButtonPanelIn method program.main.PlumberButtonPanel.actionPerformed(ActionEvent)Local variable stored in JVM register 3At PlumberButtonPanel.java:[line 133]Dead store to local variableDead store to ppi in program.main.PlumberMoveWindow.actionPerformed(ActionEvent)At PlumberMoveWindow.java:[lines 17-69]In class program.main.PlumberMoveWindowIn method program.main.PlumberMoveWindow.actionPerformed(ActionEvent)Local variable named ppiAt PlumberMoveWindow.java:[line 68]Write to static field from instance methodWrite to static field program.main.PlumberPipeInteraction.endturn from instance method program.main.PlumberPipeInteraction.actionPerformed(ActionEvent)At PlumberPipeInteraction.java:[lines 13-92]In class program.main.PlumberPipeInteractionIn method program.main.PlumberPipeInteraction.actionPerformed(ActionEvent)In PlumberPipeInteraction.javaField program.main.PlumberPipeInteraction.endturnAt PlumberPipeInteraction.java:[line 73]Random object created and used only onceRandom object created and used only once in program.main.Pump.destroy()At Pump.java:[lines 43-465]In class program.main.PumpIn method program.main.Pump.destroy()Called method java.util.Random.nextInt(int)At Pump.java:[line 124]May expose internal representation by returning reference to mutable objectprogram.main.Pump.getConnectedPipes() may expose internal representation by returning Pump.connectedPipesAt Pump.java:[lines 43-465]In class program.main.PumpIn method program.main.Pump.getConnectedPipes()In Pump.javaField program.main.Pump.connectedPipesAt Pump.java:[line 429]May expose internal representation by returning reference to mutable objectprogram.main.Pump.getPipeIn() may expose internal representation by returning Pump.inAt Pump.java:[lines 43-465]In class program.main.PumpIn method program.main.Pump.getPipeIn()In Pump.javaField program.main.Pump.inAt Pump.java:[line 224]May expose internal representation by returning reference to mutable objectprogram.main.Pump.getPipeOut() may expose internal representation by returning Pump.outAt Pump.java:[lines 43-465]In class program.main.PumpIn method program.main.Pump.getPipeOut()In Pump.javaField program.main.Pump.outAt Pump.java:[line 233]May expose internal representation by returning reference to mutable objectprogram.main.Pump.listNeighbours() may expose internal representation by returning Pump.neighboursAt Pump.java:[lines 43-465]In class program.main.PumpIn method program.main.Pump.listNeighbours()In Pump.javaField program.main.Pump.neighboursAt Pump.java:[line 166]May expose internal representation by incorporating reference to mutable objectprogram.main.Pump.changePipeIn(Pipe) may expose internal representation by storing an externally mutable object into Pump.inAt Pump.java:[lines 43-465]In class program.main.PumpIn method program.main.Pump.changePipeIn(Pipe)In Pump.javaField program.main.Pump.inLocal variable named pAt Pump.java:[line 307]May expose internal representation by incorporating reference to mutable objectprogram.main.Pump.changePipeOut(Pipe) may expose internal representation by storing an externally mutable object into Pump.outAt Pump.java:[lines 43-465]In class program.main.PumpIn method program.main.Pump.changePipeOut(Pipe)In Pump.javaField program.main.Pump.outLocal variable named pAt Pump.java:[line 323]Method names should start with a lower case letterThe method name program.main.Pump.SpareWater() doesn't start with a lower case letterAt Pump.java:[lines 43-465]In class program.main.PumpIn method program.main.Pump.SpareWater()At Pump.java:[line 378]Non-transient non-serializable instance field in serializable classClass program.main.Pump defines non-transient non-serializable instance field file_picAt Pump.java:[lines 43-465]In class program.main.PumpIn Pump.javaField program.main.Pump.file_picAt BufferedImage.java:[lines 71-1639]Actual type java.awt.image.BufferedImageIn Pump.javaMethod names should start with a lower case letterThe method name program.main.Spring.SpareWater() doesn't start with a lower case letterAt Spring.java:[lines 16-91]In class program.main.SpringIn method program.main.Spring.SpareWater()At Spring.java:[line 79]Write to static field from instance methodWrite to static field program.main.restart_menu.quit_boolean from instance method new program.main.restart_menu()At restart_menu.java:[lines 11-221]In class program.main.restart_menuIn method new program.main.restart_menu()In restart_menu.javaField program.main.restart_menu.quit_booleanAt restart_menu.java:[line 57]Write to static field from instance methodWrite to static field program.main.restart_menu.restart_boolean from instance method new program.main.restart_menu()At restart_menu.java:[lines 11-221]In class program.main.restart_menuIn method new program.main.restart_menu()In restart_menu.javaField program.main.restart_menu.restart_booleanAt restart_menu.java:[line 58]Class names should start with an upper case letterThe class name program.main.settings doesn't start with an upper case letterAt settings.java:[lines 18-197]In class program.main.settingsAt settings.java:[lines 18-197]Method might ignore exceptionprogram.main.settings$1.actionPerformed(ActionEvent) might ignore java.lang.ExceptionAt settings.java:[lines 103-114]In class program.main.settings$1In method program.main.settings$1.actionPerformed(ActionEvent)At Exception.java:[lines 54-123]Exception class java.lang.ExceptionAt settings.java:[line 111]At settings.java:[line 111]Method might ignore exceptionprogram.main.settings$2.actionPerformed(ActionEvent) might ignore java.lang.ExceptionAt settings.java:[lines 178-189]In class program.main.settings$2In method program.main.settings$2.actionPerformed(ActionEvent)At Exception.java:[lines 54-123]Exception class java.lang.ExceptionAt settings.java:[line 186]At settings.java:[line 186]Reliance on default encodingFound reliance on default encoding in program.main.startMenu.StoryBoard(): new java.util.Scanner(File)At startMenu.java:[lines 14-201]In class program.main.startMenuIn method program.main.startMenu.StoryBoard()Called method new java.util.Scanner(File)At startMenu.java:[line 160]Class names should start with an upper case letterThe class name program.main.startMenu doesn't start with an upper case letterAt startMenu.java:[lines 14-201]In class program.main.startMenuAt startMenu.java:[lines 14-201]Dead store to local variableDead store to settingswindow in program.main.startMenu$3.actionPerformed(ActionEvent)At startMenu.java:[lines 191-197]In class program.main.startMenu$3In method program.main.startMenu$3.actionPerformed(ActionEvent)Local variable named settingswindowAt startMenu.java:[line 195]Bad practiceMalicious code vulnerabilityPerformanceDodgy codeInternationalizationPrimitive field is public
+ + <p> + <a href="https://wiki.sei.cmu.edu/confluence/display/java/OBJ01-J.+Limit+accessibility+of+fields">SEI CERT rule OBJ01-J</a> requires that accessibility to fields must be limited. + Otherwise, the values of the fields may be manipulated from outside the class, which may be unexpected or + undesired behaviour. + In general, requiring that no fields are allowed to be public is overkill and unrealistic. Even + the rule mentions that final fields may be public. Besides final fields, there may be other + usages for public fields: some public fields may serve as "flags" that affect the behavior of + the class. Such flag fields are expected to be read by the current instance (or the current + class, in case of static fields), but written by others. If a field is both written by the + methods of the current instance (or the current class, in case of static fields) and from the + outside, the code is suspicious. Consider making these fields private and provide appropriate + setters, if necessary. Please note that constructors, initializers and finalizers are + exceptions, if only they write the field inside the class, the field is not considered as + written by the class itself.</p> + +
Dead store to local variable
+ +<p> +This instruction assigns a value to a local variable, +but the value is not read or used in any subsequent instruction. +Often, this indicates an error, because the value computed is never +used. +</p> +<p> +Note that Sun's javac compiler often generates dead stores for +final local variables. Because SpotBugs is a bytecode-based tool, +there is no easy way to eliminate these false positives. +</p> + +
May expose internal representation by incorporating reference to mutable object
+ + <p> This code stores a reference to an externally mutable object into the + internal representation of the object.&nbsp; + If instances + are accessed by untrusted code, and unchecked changes to + the mutable object would compromise security or other + important properties, you will need to do something different. + Storing a copy of the object is better approach in many situations.</p> + +
Class names should start with an upper case letter
+ + <p> Class names should be nouns, in mixed case with the first letter of each internal word capitalized. Try to keep your class names simple and descriptive. Use whole words-avoid acronyms and abbreviations (unless the abbreviation is much more widely used than the long form, such as URL or HTML). +</p> + +
Field isn't final but should be
+ + <p> +This <code>public static</code> or <code>protected static</code> field is not final, and +could be changed by malicious code or + by accident from another package. + The field could be made final to avoid + this vulnerability.</p> + +
Method names should start with a lower case letter
+ + <p> +Methods should be verbs, in mixed case with the first letter lowercase, with the first letter of each internal word capitalized. +</p> + +
Unread field
+ + <p> This field is never read.&nbsp; Consider removing it from the class.</p> + +
Public static method may expose internal representation by returning a mutable object or array
+ + <p> A public static method returns a reference to a mutable object or + an array that is part of the static state of the class. + Any code that calls this method can freely modify + the underlying array. + One fix is to return a copy of the array.</p> + +
Check for oddness that won't work for negative numbers
+ +<p> +The code uses x % 2 == 1 to check to see if a value is odd, but this won't work +for negative numbers (e.g., (-5) % 2 == -1). If this code is intending to check +for oddness, consider using (x &amp; 1) == 1, or x % 2 != 0. +</p> + +
Field should be package protected
+ + <p> A mutable static field could be changed by malicious code or + by accident. + The field could be made package protected to avoid + this vulnerability.</p> + +
Write to static field from instance method
+ + <p> This instance method writes to a static field. This is tricky to get +correct if multiple instances are being manipulated, +and generally bad practice. +</p> + +
Random object created and used only once
+ +<p> This code creates a java.util.Random object, uses it to generate one random number, and then discards +the Random object. This produces mediocre quality random numbers and is inefficient. +If possible, rewrite the code so that the Random object is created once and saved, and each time a new random number +is required invoke a method on the existing Random object to obtain it. +</p> + +<p>If it is important that the generated Random numbers not be guessable, you <em>must</em> not create a new Random for each random +number; the values are too easily guessable. You should strongly consider using a java.security.SecureRandom instead +(and avoid allocating a new SecureRandom for each random number needed). +</p> + +
May expose internal representation by returning reference to mutable object
+ + <p> Returning a reference to a mutable object value stored in one of the object's fields + exposes the internal representation of the object.&nbsp; + If instances + are accessed by untrusted code, and unchecked changes to + the mutable object would compromise security or other + important properties, you will need to do something different. + Returning a new copy of the object is better approach in many situations.</p> + +
Unused field
+ + <p> This field is never used.&nbsp; Consider removing it from the class.</p> + +
Unread field: should this field be static?
+ + <p> This class contains an instance final field that + is initialized to a compile-time static value. + Consider making the field static.</p> + +
Reliance on default encoding
+ +<p> Found a call to a method which will perform a byte to String (or String to byte) conversion, +and will assume that the default platform encoding is suitable. This will cause the application +behavior to vary between platforms. Use an alternative API and specify a charset name or Charset +object explicitly.</p> + +
Method might ignore exception
+ + <p> This method might ignore an exception.&nbsp; In general, exceptions + should be handled or reported in some way, or they should be thrown + out of the method.</p> + +
Method invokes System.exit(...)
+ + <p> Invoking System.exit shuts down the entire Java virtual machine. This + should only been done when it is appropriate. Such calls make it + hard or impossible for your code to be invoked by other code. + Consider throwing a RuntimeException instead.</p> + +
Non-transient non-serializable instance field in serializable class
+ +<p> This Serializable class defines a non-primitive instance field which is neither transient, +Serializable, or <code>java.lang.Object</code>, and does not appear to implement +the <code>Externalizable</code> interface or the +<code>readObject()</code> and <code>writeObject()</code> methods.&nbsp; +Objects of this class will not be deserialized correctly if a non-Serializable +object is stored in this field.</p> + +
Unread field should be staticDubious method invocationMisuse of static fieldsDropped or ignored exceptionMethod returning array may expose internal representationQuestionable integer mathMutable static fieldUnused fieldUnread fieldDubious method usedDead local storeStoring reference to mutable objectPublic AttributeIncorrect definition of Serializable classConfusing method name
\ No newline at end of file diff --git a/target/surefire-reports/TEST-hello.GreeterTest.xml b/target/surefire-reports/TEST-hello.GreeterTest.xml new file mode 100644 index 0000000..9753161 --- /dev/null +++ b/target/surefire-reports/TEST-hello.GreeterTest.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/TEST-program.GreeterTest.xml b/target/surefire-reports/TEST-program.GreeterTest.xml new file mode 100644 index 0000000..2912e20 --- /dev/null +++ b/target/surefire-reports/TEST-program.GreeterTest.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/surefire-reports/hello.GreeterTest.txt b/target/surefire-reports/hello.GreeterTest.txt new file mode 100644 index 0000000..77d07e3 --- /dev/null +++ b/target/surefire-reports/hello.GreeterTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: hello.GreeterTest +------------------------------------------------------------------------------- +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.085 s -- in hello.GreeterTest diff --git a/target/surefire-reports/program.GreeterTest.txt b/target/surefire-reports/program.GreeterTest.txt new file mode 100644 index 0000000..74755f8 --- /dev/null +++ b/target/surefire-reports/program.GreeterTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: program.GreeterTest +------------------------------------------------------------------------------- +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s -- in program.GreeterTest