Browse Source

refactoring: Deleted unused imports

remotes/origin/fight-engine
David Hermann 2 years ago
parent
commit
67822c0a8e
  1. 2
      src/main/java/org/bitbiome/classes/JsonParser.java
  2. 4
      src/main/java/org/bitbiome/commands/HelpCommand.java
  3. 2
      src/main/java/org/bitbiome/commands/TravelCommand.java
  4. 2
      src/main/java/org/bitbiome/entities/Player.java
  5. 2
      src/test/java/org/bitbiome/commands/HelpCommandTest.java

2
src/main/java/org/bitbiome/classes/JsonParser.java

@ -2,12 +2,10 @@ package org.bitbiome.classes;
import org.json.JSONObject; import org.json.JSONObject;
import org.json.JSONTokener; import org.json.JSONTokener;
import org.json.JSONWriter;
import java.io.FileWriter; import java.io.FileWriter;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.StringWriter;

4
src/main/java/org/bitbiome/commands/HelpCommand.java

@ -1,10 +1,10 @@
package org.bitbiome.commands; package org.bitbiome.commands;
import org.bitbiome.Boot;
import org.bitbiome.classes.Colors; import org.bitbiome.classes.Colors;
import org.bitbiome.classes.TravelEngine; import org.bitbiome.classes.TravelEngine;
import java.util.HashMap;
import java.util.Scanner; import java.util.Scanner;
public class HelpCommand implements CommandAPI { public class HelpCommand implements CommandAPI {

2
src/main/java/org/bitbiome/commands/TravelCommand.java

@ -1,7 +1,7 @@
package org.bitbiome.commands; package org.bitbiome.commands;
import org.bitbiome.classes.Colors; import org.bitbiome.classes.Colors;
import org.bitbiome.classes.CreateLocations;
import org.bitbiome.classes.TravelEngine; import org.bitbiome.classes.TravelEngine;
import org.bitbiome.entities.Item; import org.bitbiome.entities.Item;
import org.bitbiome.entities.Location; import org.bitbiome.entities.Location;

2
src/main/java/org/bitbiome/entities/Player.java

@ -1,6 +1,6 @@
package org.bitbiome.entities; package org.bitbiome.entities;
import org.bitbiome.classes.CreateLocations;
import org.bitbiome.classes.JsonParser; import org.bitbiome.classes.JsonParser;
import java.util.ArrayList; import java.util.ArrayList;

2
src/test/java/org/bitbiome/commands/HelpCommandTest.java

@ -3,7 +3,7 @@ package org.bitbiome.commands;
import org.bitbiome.classes.Colors; import org.bitbiome.classes.Colors;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
public class HelpCommandTest { public class HelpCommandTest {

Loading…
Cancel
Save