Skip to content

Commit

Permalink
remove tester
Browse files Browse the repository at this point in the history
  • Loading branch information
dArkjON committed May 8, 2018
1 parent 54d811b commit 2cfd3ad
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.StringTokenizer;

public class Tester {
private List<IExtension> extensions;
Expand All @@ -63,7 +62,7 @@ private static void usage(){
System.out.println(" Specifies path to a jar file which contains extensions.");
System.out.println(" -n name");
System.out.println(" Specifies name of wallet/ratesource/exchnage/pprocessor to be used");
System.out.println(" -p=param1:param2:param3, param1 is fiat symbol and param2 is the full cryptocurrency name ie: bitcoin");
System.out.println(" -p=param1:param2:param3");
System.out.println(" Set parameters to wallet/ratesource/exchnage/pprocessor.");

System.out.println(" ACTIONS:");
Expand Down Expand Up @@ -395,8 +394,11 @@ private void getRates(String name, String params) {
IExtension extension = extensions.get(i);
final IRateSource rs = extension.createRateSource(name + ":" + params);
if (rs != null) {
final String preferredFiatCurrency = rs.getPreferredFiatCurrency();
final Set<String> fiatCurrencies = rs.getFiatCurrencies();
final Set<String> cryptoCurrencies = rs.getCryptoCurrencies();

System.out.println("Preferred Fiat Currency = " + preferredFiatCurrency);

System.out.println("Fiat Currencies:");
for (String fiatCurrency : fiatCurrencies) {
Expand Down

0 comments on commit 2cfd3ad

Please sign in to comment.