mirror of
https://github.com/AppleDash/SaneEconomy.git
synced 2024-11-28 13:05:19 +01:00
Format code
This commit is contained in:
parent
c269fc1065
commit
fe4fc5018d
@ -36,13 +36,15 @@ public class SaneEconomy extends SanePlugin implements ISaneEconomy {
|
||||
private TransactionLogger transactionLogger;
|
||||
private GithubVersionChecker versionChecker;
|
||||
|
||||
private final Map<String, SaneCommand> COMMANDS = new HashMap<String, SaneCommand>() {{
|
||||
private final Map<String, SaneCommand> COMMANDS = new HashMap<String, SaneCommand>() {
|
||||
{
|
||||
put("balance", new BalanceCommand(SaneEconomy.this));
|
||||
put("ecoadmin", new EconomyAdminCommand(SaneEconomy.this));
|
||||
put("pay", new PayCommand(SaneEconomy.this));
|
||||
put("saneeconomy", new SaneEcoCommand(SaneEconomy.this));
|
||||
put("balancetop", new BalanceTopCommand(SaneEconomy.this));
|
||||
}};
|
||||
}
|
||||
};
|
||||
|
||||
public SaneEconomy() {
|
||||
instance = this;
|
||||
|
9
astyle.conf
Normal file
9
astyle.conf
Normal file
@ -0,0 +1,9 @@
|
||||
--mode=java
|
||||
--style=java # Bracket formatting
|
||||
--indent=spaces=4
|
||||
--indent-switches
|
||||
--pad-oper
|
||||
--pad-header
|
||||
--add-brackets
|
||||
--suffix=none # Do not backup original file
|
||||
--lineend=linux
|
Loading…
Reference in New Issue
Block a user