mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-16 03:24:31 +02:00
Cleaned up my format . . .
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1328 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
@@ -1,15 +1,12 @@
|
|||||||
|
|
||||||
package com.iConomy;
|
package com.iConomy;
|
||||||
|
|
||||||
import com.earth2me.essentials.api.Economy;
|
import com.earth2me.essentials.api.Economy;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class banks
|
public class banks
|
||||||
{
|
{
|
||||||
|
public int count(String name)
|
||||||
|
{
|
||||||
public int count(String name){
|
|
||||||
int count = 0;
|
int count = 0;
|
||||||
int breaker = 0;
|
int breaker = 0;
|
||||||
for (int ctr = 1; breaker != 1; ctr++)
|
for (int ctr = 1; breaker != 1; ctr++)
|
||||||
@@ -37,17 +34,4 @@ public class banks
|
|||||||
|
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -7,7 +7,6 @@ import java.util.ArrayList;
|
|||||||
|
|
||||||
public class Account
|
public class Account
|
||||||
{
|
{
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
public Holdings getHoldings()
|
public Holdings getHoldings()
|
||||||
@@ -102,6 +101,4 @@ public class Account
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -27,11 +27,14 @@ public class Holdings
|
|||||||
this.bankId = id;
|
this.bankId = id;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
public boolean isBank() {
|
|
||||||
|
public boolean isBank()
|
||||||
|
{
|
||||||
return bank;
|
return bank;
|
||||||
}
|
}
|
||||||
|
|
||||||
public double balance() {
|
public double balance()
|
||||||
|
{
|
||||||
return get();
|
return get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user