Skip to content

Commit

Permalink
Reformat imports
Browse files Browse the repository at this point in the history
  • Loading branch information
games647 committed Jul 3, 2017
1 parent d127236 commit f7cef9c
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 26 deletions.
16 changes: 8 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<powermock.version>1.6.6</powermock.version>
<powermock.version>1.7.0</powermock.version>
<!--Possibility to deploy directly to the plugins folder-->
<outputDir>${basedir}/target</outputDir>
</properties>
Expand Down Expand Up @@ -223,7 +223,7 @@
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>2.6.2</version>
<version>2.6.3</version>
</dependency>

<!--Logging framework implements slf4j which is required by hikari-->
Expand All @@ -236,7 +236,7 @@
<dependency>
<groupId>com.wasteofplastic</groupId>
<artifactId>askyblock</artifactId>
<version>3.0.6.2</version>
<version>3.0.6.8</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand All @@ -248,7 +248,7 @@
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.6.0</version>
<version>2.8.1</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand All @@ -260,7 +260,7 @@
<dependency>
<groupId>de.keyle</groupId>
<artifactId>mypet</artifactId>
<version>2.2.6</version>
<version>2.2.9</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand Down Expand Up @@ -299,7 +299,7 @@
<dependency>
<groupId>org.black_ixx</groupId>
<artifactId>PlayerPoints</artifactId>
<version>2.1.3</version>
<version>2.1.5</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand All @@ -312,7 +312,7 @@
<dependency>
<groupId>com.greatmancode</groupId>
<artifactId>craftconomy3</artifactId>
<version>3.3.1-SNAPSHOT</version>
<version>3.3.1</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand Down Expand Up @@ -378,7 +378,7 @@
<dependency>
<groupId>com.github.SirFaizdat</groupId>
<artifactId>Prison</artifactId>
<version>v2.1.6</version>
<version>v2.3.1</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import com.github.games647.scoreboardstats.scoreboard.bukkit.BukkitScoreboardManager;
import com.github.games647.scoreboardstats.scoreboard.protocol.PacketSbManager;
import com.github.games647.scoreboardstats.variables.ReplaceManager;

import java.util.logging.Logger;

import org.bukkit.plugin.java.JavaPlugin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.github.games647.scoreboardstats.commands;

import com.github.games647.scoreboardstats.config.Lang;
import com.github.games647.scoreboardstats.ScoreboardStats;
import com.github.games647.scoreboardstats.config.Lang;

import java.util.Arrays;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.github.games647.scoreboardstats.commands;

import com.github.games647.scoreboardstats.config.Lang;
import com.github.games647.scoreboardstats.ScoreboardStats;
import com.github.games647.scoreboardstats.config.Lang;

import org.bukkit.command.CommandSender;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.github.games647.scoreboardstats.commands;

import com.github.games647.scoreboardstats.config.Lang;
import com.github.games647.scoreboardstats.RefreshTask;
import com.github.games647.scoreboardstats.ScoreboardStats;
import com.github.games647.scoreboardstats.config.Lang;

import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.zaxxer.hikari.HikariDataSource;

import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.metadata.MetadataValue;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
Expand All @@ -33,6 +29,10 @@
import java.util.logging.Level;
import java.util.stream.Collectors;

import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.metadata.MetadataValue;

/**
* This represents a handler for saving player stats.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@
import com.github.games647.scoreboardstats.Version;
import com.github.games647.scoreboardstats.config.Lang;
import com.zaxxer.hikari.HikariConfig;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.plugin.Plugin;

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.logging.Level;

import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.plugin.Plugin;

/**
* Configuration for the SQL database.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package com.github.games647.scoreboardstats.pvpstats;

import com.google.common.base.Objects;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.bukkit.util.NumberConversions;

import java.util.UUID;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.bukkit.util.NumberConversions;

/**
* Represents the stats from a player. The stats are kills, deaths, mobkills and killstreak. All stats are annotated to
* be validated on runtime to be not invalid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

import java.lang.reflect.InvocationTargetException;
import java.util.Collection;
import java.util.logging.Level;
import java.util.UUID;
import java.util.logging.Level;
import java.util.logging.Logger;

import org.bukkit.Bukkit;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.github.games647.scoreboardstats.scoreboard.protocol;

import com.comphenix.protocol.ProtocolLibrary;
import com.github.games647.scoreboardstats.config.Lang;
import com.github.games647.scoreboardstats.SbManager;
import com.github.games647.scoreboardstats.ScoreboardStats;
import com.github.games647.scoreboardstats.config.Lang;
import com.github.games647.scoreboardstats.config.Settings;
import com.github.games647.scoreboardstats.config.VariableItem;
import com.github.games647.scoreboardstats.variables.ReplaceEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import java.util.Map;

import org.bukkit.Bukkit;

import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.messaging.PluginMessageListener;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import org.bukkit.Bukkit;
import org.bukkit.entity.Player;

import org.bukkit.plugin.Plugin;
import org.bukkit.util.NumberConversions;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import org.bukkit.event.Listener;
import org.bukkit.plugin.Plugin;
import org.bukkit.util.NumberConversions;

import us.talabrek.ultimateskyblock.api.event.uSkyBlockScoreChangedEvent;
import us.talabrek.ultimateskyblock.api.uSkyBlockAPI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.github.games647.scoreboardstats.variables;

import com.github.games647.scoreboardstats.ScoreboardStats;

import java.util.logging.Level;
import java.util.logging.Logger;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.github.games647.scoreboardstats.variables;

import com.github.games647.scoreboardstats.ScoreboardStats;

import java.util.logging.Logger;

import org.bukkit.Bukkit;
Expand Down

0 comments on commit f7cef9c

Please sign in to comment.