mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-23 18:45:31 +01:00
Automatic code re-format and re-organisation
This commit is contained in:
parent
06b9749467
commit
ff4cfb0c7c
@ -7,6 +7,7 @@ import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Annotation indicating that the value should be followed by a blank space
|
||||
*
|
||||
* @author Acrobot
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
|
@ -66,6 +66,7 @@ public class Configuration {
|
||||
|
||||
/**
|
||||
* Checks if the file ends with space
|
||||
*
|
||||
* @param file File to check
|
||||
* @return If the file ends with space
|
||||
*/
|
||||
|
@ -1027,11 +1027,11 @@ public class Base64 {
|
||||
public static byte[] decode(byte[] source)
|
||||
throws java.io.IOException {
|
||||
byte[] decoded = null;
|
||||
// try {
|
||||
// try {
|
||||
decoded = decode(source, 0, source.length, Base64.NO_OPTIONS);
|
||||
// } catch( java.io.IOException ex ) {
|
||||
// assert false : "IOExceptions only come from GZipping, which is turned off: " + ex.getMessage();
|
||||
// }
|
||||
// } catch( java.io.IOException ex ) {
|
||||
// assert false : "IOExceptions only come from GZipping, which is turned off: " + ex.getMessage();
|
||||
// }
|
||||
return decoded;
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,6 @@ import com.Acrobot.ChestShop.Listeners.Block.BlockPlace;
|
||||
import com.Acrobot.ChestShop.Listeners.Block.Break.ChestBreak;
|
||||
import com.Acrobot.ChestShop.Listeners.Block.Break.SignBreak;
|
||||
import com.Acrobot.ChestShop.Listeners.Block.SignCreate;
|
||||
import com.Acrobot.ChestShop.Listeners.Economy.Plugins.RegisterListener;
|
||||
import com.Acrobot.ChestShop.Listeners.Economy.ServerAccountCorrector;
|
||||
import com.Acrobot.ChestShop.Listeners.Economy.TaxModule;
|
||||
import com.Acrobot.ChestShop.Listeners.Item.ItemMoveListener;
|
||||
|
@ -4,7 +4,6 @@ import com.Acrobot.ChestShop.ChestShop;
|
||||
import com.Acrobot.ChestShop.Configuration.Properties;
|
||||
import com.Acrobot.ChestShop.Economy.Economy;
|
||||
import com.Acrobot.ChestShop.Events.Economy.CurrencyAddEvent;
|
||||
import com.Acrobot.ChestShop.Events.Economy.CurrencySubtractEvent;
|
||||
import com.Acrobot.ChestShop.Signs.ChestShopSign;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.EventPriority;
|
||||
|
@ -1,7 +1,6 @@
|
||||
package com.Acrobot.ChestShop.Listeners.PostTransaction;
|
||||
|
||||
import com.Acrobot.ChestShop.ChestShop;
|
||||
import com.Acrobot.ChestShop.Economy.Economy;
|
||||
import com.Acrobot.ChestShop.Events.Economy.CurrencyAddEvent;
|
||||
import com.Acrobot.ChestShop.Events.Economy.CurrencySubtractEvent;
|
||||
import com.Acrobot.ChestShop.Events.TransactionEvent;
|
||||
|
@ -1,7 +1,5 @@
|
||||
package com.Acrobot.ChestShop.Listeners.PreShopCreation;
|
||||
|
||||
import com.Acrobot.ChestShop.Configuration.Properties;
|
||||
import com.Acrobot.ChestShop.Economy.Economy;
|
||||
import com.Acrobot.ChestShop.Events.PreShopCreationEvent;
|
||||
import com.Acrobot.ChestShop.Permission;
|
||||
import com.Acrobot.ChestShop.Utils.uName;
|
||||
|
@ -2,7 +2,6 @@ package com.Acrobot.ChestShop.Listeners.PreTransaction;
|
||||
|
||||
import com.Acrobot.Breeze.Utils.InventoryUtil;
|
||||
import com.Acrobot.ChestShop.ChestShop;
|
||||
import com.Acrobot.ChestShop.Economy.Economy;
|
||||
import com.Acrobot.ChestShop.Events.Economy.CurrencyCheckEvent;
|
||||
import com.Acrobot.ChestShop.Events.PreTransactionEvent;
|
||||
import org.bukkit.event.EventHandler;
|
||||
|
@ -18,6 +18,7 @@ import java.sql.Statement;
|
||||
|
||||
/**
|
||||
* Saves items with Metadata in database, which allows for saving items on signs easily.
|
||||
*
|
||||
* @author Acrobot
|
||||
*/
|
||||
public class ItemDatabase {
|
||||
|
Loading…
Reference in New Issue
Block a user