Constructors are protected

This commit is contained in:
7u83 2018-12-31 14:07:37 +01:00
parent 904b4a1016
commit 401b6ce2f9
1 changed files with 2 additions and 2 deletions

View File

@ -51,12 +51,12 @@ public class AssetPair {
return buildSymbol(asset.getSymbol(),currency.getSymbol());
}
public AssetPair(AbstractAsset asset, AbstractAsset currency) {
AssetPair(AbstractAsset asset, AbstractAsset currency) {
this.asset = asset;
this.currency = currency;
}
public AssetPair(World world, String asset, String currency){
AssetPair(World world, String asset, String currency){
this.asset = world.getAssetBySymbol(asset);
this.currency = world.getAssetBySymbol(currency);
}