Skip to content

Commit

Permalink
Remove some imports
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoSilvaF committed Jun 17, 2022
1 parent f7f69c9 commit 2ca5f70
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions mychest/src/main/java/com/github/hugosilvaf2/mychest/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Stream;
import com.github.hugosilvaf2.mychest.commands.ChestAdminCommand;
import com.github.hugosilvaf2.mychest.commands.ChestEditCommand;
import com.github.hugosilvaf2.mychest.commands.ChestsCommand;
Expand All @@ -18,30 +16,19 @@
import com.github.hugosilvaf2.mychest.service.SessionService;
import com.github.hugosilvaf2.mychest.service.UserService;
import com.github.hugosilvaf2.mychest.utils.Utils;

import org.bukkit.Bukkit;
import org.bukkit.configuration.InvalidConfigurationException;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.plugin.RegisteredServiceProvider;
import org.bukkit.plugin.java.JavaPlugin;

import co.aikar.commands.BukkitCommandManager;
import net.milkbowl.vault.permission.Permission;
import pro.husk.mysql.MySQL;

public class Main extends JavaPlugin {

public static void main(String[] args) {
String a = "[a, b, c, d]";

System.out.println("String: " + a);

String[] arr = a.replace("[", "").replace("]", "").split(", ");

System.out.println("array: " + Arrays.toString(arr));

Stream.of(arr).forEach(c -> System.out.println("array val >> " + c));

}

Expand Down
Binary file modified mychest/target/classes/com/github/hugosilvaf2/mychest/Main.class
Binary file not shown.

0 comments on commit 2ca5f70

Please sign in to comment.