Automatic code re-format and re-organisation

This commit is contained in:
Acrobot 2013-07-21 16:49:55 +02:00
parent 06b9749467
commit ff4cfb0c7c
9 changed files with 7 additions and 10 deletions

View File

@ -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)

View File

@ -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
*/

View File

@ -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;
}

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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 {