Make some classes final.

This commit is contained in:
Jesse Prescott 2018-06-06 06:48:56 +01:00
parent 4523503f6e
commit 1bcda91d7f
5 changed files with 4 additions and 6 deletions

View File

@ -24,7 +24,7 @@ import org.bukkit.Material;
*
* @author Jesse Prescott (BleedObsidian)
*/
public class ConfigFile extends ConfigurationFile {
public final class ConfigFile extends ConfigurationFile {
/**
* Constructor.

View File

@ -22,7 +22,7 @@ import com.gmail.bleedobsidian.itemcase.LanguageTranslator.Language;
*
* @author Jesse Prescott (BleedObsidian)
*/
public class LanguageFile extends ConfigurationFile {
public final class LanguageFile extends ConfigurationFile {
/**
* Constructor.

View File

@ -41,7 +41,7 @@ import org.bukkit.inventory.ItemStack;
*
* @author Jesse Prescott (BleedObsidian)
*/
public class WorldFile extends ConfigurationFile {
public final class WorldFile extends ConfigurationFile {
/**
* The world this configuration file is for.

View File

@ -24,8 +24,6 @@ import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map.Entry;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.OfflinePlayer;

View File

@ -28,7 +28,7 @@ import org.bukkit.entity.Player;
*
* @author Jesse Prescott (BleedObsidian)
*/
public class OrderManager {
public final class OrderManager {
/**
* HashMap of players and their active orders.