summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Buonopane <techsoftadvanced@gmail.com>2012-02-23 12:11:09 -0500
committerPaul Buonopane <techsoftadvanced@gmail.com>2012-02-23 12:11:09 -0500
commit146599ae4becd768a7bfab037bcc32ef12eebce8 (patch)
tree834be452f79b7d04943f294296672b2aeaa20e68
parent4203119e9a6118759e16a148161f8b632af12f50 (diff)
downloadEssentials-146599ae4becd768a7bfab037bcc32ef12eebce8.tar
Essentials-146599ae4becd768a7bfab037bcc32ef12eebce8.tar.gz
Essentials-146599ae4becd768a7bfab037bcc32ef12eebce8.tar.lz
Essentials-146599ae4becd768a7bfab037bcc32ef12eebce8.tar.xz
Essentials-146599ae4becd768a7bfab037bcc32ef12eebce8.zip
Formatting.
Signed-off-by: Paul Buonopane <techsoftadvanced@gmail.com>
-rw-r--r--Essentials/src/com/earth2me/essentials/api/IEssentials.java9
-rw-r--r--Essentials/src/com/earth2me/essentials/api/IEssentialsModule.java1
-rw-r--r--Essentials/src/com/earth2me/essentials/api/IItemDb.java4
-rw-r--r--Essentials/src/com/earth2me/essentials/api/IKits.java10
-rw-r--r--Essentials/src/com/earth2me/essentials/api/IPermission.java4
-rw-r--r--Essentials/src/com/earth2me/essentials/api/IReplyTo.java4
-rw-r--r--Essentials/src/com/earth2me/essentials/api/ITeleport.java2
-rw-r--r--Essentials/src/com/earth2me/essentials/api/IUser.java4
-rw-r--r--Essentials/src/com/earth2me/essentials/api/IUserMap.java2
-rw-r--r--Essentials/src/com/earth2me/essentials/api/IWarp.java1
-rw-r--r--Essentials/src/com/earth2me/essentials/api/InvalidNameException.java1
11 files changed, 21 insertions, 21 deletions
diff --git a/Essentials/src/com/earth2me/essentials/api/IEssentials.java b/Essentials/src/com/earth2me/essentials/api/IEssentials.java
index 175f55046..f5cbc8415 100644
--- a/Essentials/src/com/earth2me/essentials/api/IEssentials.java
+++ b/Essentials/src/com/earth2me/essentials/api/IEssentials.java
@@ -12,7 +12,7 @@ public interface IEssentials extends Plugin
void addReloadListener(IReload listener);
IUser getUser(Player player);
-
+
IUser getUser(String playerName);
int broadcastMessage(IUser sender, String message);
@@ -24,7 +24,7 @@ public interface IEssentials extends Plugin
IGroups getGroups();
IJails getJails();
-
+
IKits getKits();
IWarps getWarps();
@@ -36,7 +36,7 @@ public interface IEssentials extends Plugin
IUserMap getUserMap();
IBackup getBackup();
-
+
ICommandHandler getCommandHandler();
World getWorld(String name);
@@ -52,7 +52,6 @@ public interface IEssentials extends Plugin
int scheduleSyncRepeatingTask(Runnable run, long delay, long period);
//IPermissionsHandler getPermissionsHandler();
-
void reload();
TNTExplodeListener getTNTListener();
@@ -60,6 +59,6 @@ public interface IEssentials extends Plugin
void setGroups(IGroups groups);
void removeReloadListener(IReload groups);
-
+
IEconomy getEconomy();
}
diff --git a/Essentials/src/com/earth2me/essentials/api/IEssentialsModule.java b/Essentials/src/com/earth2me/essentials/api/IEssentialsModule.java
index eea919f9d..cc185980a 100644
--- a/Essentials/src/com/earth2me/essentials/api/IEssentialsModule.java
+++ b/Essentials/src/com/earth2me/essentials/api/IEssentialsModule.java
@@ -1,5 +1,6 @@
package com.earth2me.essentials.api;
+
public interface IEssentialsModule
{
}
diff --git a/Essentials/src/com/earth2me/essentials/api/IItemDb.java b/Essentials/src/com/earth2me/essentials/api/IItemDb.java
index 5aa79f002..29f97488c 100644
--- a/Essentials/src/com/earth2me/essentials/api/IItemDb.java
+++ b/Essentials/src/com/earth2me/essentials/api/IItemDb.java
@@ -6,8 +6,8 @@ import org.bukkit.inventory.ItemStack;
public interface IItemDb extends IReload
{
ItemStack get(final String name, final IUser user) throws Exception;
-
+
ItemStack get(final String name, final int quantity) throws Exception;
-
+
ItemStack get(final String name) throws Exception;
}
diff --git a/Essentials/src/com/earth2me/essentials/api/IKits.java b/Essentials/src/com/earth2me/essentials/api/IKits.java
index 1cf6f89ed..85ca4cdea 100644
--- a/Essentials/src/com/earth2me/essentials/api/IKits.java
+++ b/Essentials/src/com/earth2me/essentials/api/IKits.java
@@ -6,13 +6,13 @@ import java.util.Collection;
public interface IKits extends IReload
{
- Kit getKit(String kit)throws Exception;
-
+ Kit getKit(String kit) throws Exception;
+
void sendKit(IUser user, String kit) throws Exception;
-
+
void sendKit(IUser user, Kit kit) throws Exception;
-
+
Collection<String> getList() throws Exception;
-
+
boolean isEmpty();
}
diff --git a/Essentials/src/com/earth2me/essentials/api/IPermission.java b/Essentials/src/com/earth2me/essentials/api/IPermission.java
index e993ffe4d..d388bff47 100644
--- a/Essentials/src/com/earth2me/essentials/api/IPermission.java
+++ b/Essentials/src/com/earth2me/essentials/api/IPermission.java
@@ -8,10 +8,10 @@ import org.bukkit.permissions.PermissionDefault;
public interface IPermission
{
String getPermission();
-
+
boolean isAuthorized(CommandSender sender);
Permission getBukkitPermission();
-
+
PermissionDefault getPermissionDefault();
}
diff --git a/Essentials/src/com/earth2me/essentials/api/IReplyTo.java b/Essentials/src/com/earth2me/essentials/api/IReplyTo.java
index c2a1deec5..3003ca3df 100644
--- a/Essentials/src/com/earth2me/essentials/api/IReplyTo.java
+++ b/Essentials/src/com/earth2me/essentials/api/IReplyTo.java
@@ -2,7 +2,9 @@ package com.earth2me.essentials.api;
import org.bukkit.command.CommandSender;
-public interface IReplyTo {
+
+public interface IReplyTo
+{
void setReplyTo(CommandSender user);
CommandSender getReplyTo();
diff --git a/Essentials/src/com/earth2me/essentials/api/ITeleport.java b/Essentials/src/com/earth2me/essentials/api/ITeleport.java
index bcb018355..42dce4caa 100644
--- a/Essentials/src/com/earth2me/essentials/api/ITeleport.java
+++ b/Essentials/src/com/earth2me/essentials/api/ITeleport.java
@@ -9,7 +9,7 @@ import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
public interface ITeleport
{
void now(Location loc, boolean cooldown, TeleportCause cause) throws Exception;
-
+
void now(Entity entity, boolean cooldown, TeleportCause cause) throws Exception;
void back(Trade chargeFor) throws Exception;
diff --git a/Essentials/src/com/earth2me/essentials/api/IUser.java b/Essentials/src/com/earth2me/essentials/api/IUser.java
index 3a23d595d..e5a484389 100644
--- a/Essentials/src/com/earth2me/essentials/api/IUser.java
+++ b/Essentials/src/com/earth2me/essentials/api/IUser.java
@@ -24,9 +24,9 @@ public interface IUser extends Player, IStorageObjectHolder<UserData>, IReload,
void giveMoney(double value);
void giveMoney(double value, CommandSender initiator);
-
+
void giveItems(ItemStack itemStack, Boolean canSpew) throws ChargeException;
-
+
void giveItems(List<ItemStack> itemStacks, Boolean canSpew) throws ChargeException;
void setMoney(double value);
diff --git a/Essentials/src/com/earth2me/essentials/api/IUserMap.java b/Essentials/src/com/earth2me/essentials/api/IUserMap.java
index fd65b89d2..fbe6cfa0e 100644
--- a/Essentials/src/com/earth2me/essentials/api/IUserMap.java
+++ b/Essentials/src/com/earth2me/essentials/api/IUserMap.java
@@ -10,7 +10,7 @@ public interface IUserMap extends IReload
boolean userExists(final String name);
IUser getUser(final Player player);
-
+
IUser getUser(final String playerName);
void removeUser(final String name) throws InvalidNameException;
diff --git a/Essentials/src/com/earth2me/essentials/api/IWarp.java b/Essentials/src/com/earth2me/essentials/api/IWarp.java
index 82669b52f..f08e5757d 100644
--- a/Essentials/src/com/earth2me/essentials/api/IWarp.java
+++ b/Essentials/src/com/earth2me/essentials/api/IWarp.java
@@ -6,5 +6,4 @@ import com.earth2me.essentials.storage.IStorageObjectHolder;
public interface IWarp extends IStorageObjectHolder<Warp>
{
-
}
diff --git a/Essentials/src/com/earth2me/essentials/api/InvalidNameException.java b/Essentials/src/com/earth2me/essentials/api/InvalidNameException.java
index 9f397ec20..951c66b17 100644
--- a/Essentials/src/com/earth2me/essentials/api/InvalidNameException.java
+++ b/Essentials/src/com/earth2me/essentials/api/InvalidNameException.java
@@ -3,7 +3,6 @@ package com.earth2me.essentials.api;
public class InvalidNameException extends Exception
{
-
public InvalidNameException(Throwable thrwbl)
{
super(thrwbl);