Skip to content

Commit b0418a7

Browse files
author
JK
committed
Made all methods in IssueCommand public.
1 parent 7b5e7da commit b0418a7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/main/java/multichain/command/IssueCommand.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class IssueCommand extends QueryBuilderIssue {
4040
* @throws MultichainException
4141
*
4242
*/
43-
protected static List<BalanceAsset> getAssetBalances() throws MultichainException {
43+
public static List<BalanceAsset> getAssetBalances() throws MultichainException {
4444
List<BalanceAsset> listBalanceAsset = new ArrayList<BalanceAsset>();
4545

4646
String stringBalanceAsset = executeGetAssetBalances();
@@ -91,7 +91,7 @@ protected static List<BalanceAsset> getAssetBalances() throws MultichainExceptio
9191
* @return
9292
* @throws MultichainException
9393
*/
94-
protected static String issue(String address, String assetName, int quantity, float unit) throws MultichainException {
94+
public static String issue(String address, String assetName, int quantity, float unit) throws MultichainException {
9595
return executeIssue(address, assetName, quantity, unit);
9696
}
9797

@@ -136,7 +136,7 @@ protected static String issue(String address, String assetName, int quantity, fl
136136
* @return
137137
* @throws MultichainException
138138
*/
139-
protected static String issue(String address, List<AssetParams> assets, int quantity, float unit) throws MultichainException {
139+
public static String issue(String address, List<AssetParams> assets, int quantity, float unit) throws MultichainException {
140140
return executeIssue(address, assets, quantity, unit);
141141
}
142142

@@ -182,7 +182,7 @@ protected static String issue(String address, List<AssetParams> assets, int quan
182182
* @return
183183
* @throws MultichainException
184184
*/
185-
protected static String issueFrom(String fromAddress, String toAddress, String assetName, int quantity, float unit) throws MultichainException {
185+
public static String issueFrom(String fromAddress, String toAddress, String assetName, int quantity, float unit) throws MultichainException {
186186
return executeIssueFrom(fromAddress, toAddress, assetName, quantity, unit);
187187
}
188188

@@ -228,7 +228,7 @@ protected static String issueFrom(String fromAddress, String toAddress, String a
228228
* @return
229229
* @throws MultichainException
230230
*/
231-
protected static String issueFrom(String fromAddress, String toAddress, List<AssetParams> assets, int quantity, float unit) throws MultichainException {
231+
public static String issueFrom(String fromAddress, String toAddress, List<AssetParams> assets, int quantity, float unit) throws MultichainException {
232232
return executeIssueFrom(fromAddress, toAddress, assets, quantity, unit);
233233
}
234234

@@ -259,7 +259,7 @@ protected static String issueFrom(String fromAddress, String toAddress, List<Ass
259259
* @return
260260
* @throws MultichainException
261261
*/
262-
protected static String issueMore(String address, String assetName, int quantity) throws MultichainException{
262+
public static String issueMore(String address, String assetName, int quantity) throws MultichainException{
263263
return executeIssueMore(address, assetName, quantity);
264264
}
265265

@@ -293,7 +293,7 @@ protected static String issueMore(String address, String assetName, int quantity
293293
* @return
294294
* @throws MultichainException
295295
*/
296-
protected static String issueMoreFrom(String fromAddress, String toAddress, String assetName, int quantity) throws MultichainException{
296+
public static String issueMoreFrom(String fromAddress, String toAddress, String assetName, int quantity) throws MultichainException{
297297
return executeIssueMoreFrom(fromAddress, toAddress, assetName, quantity);
298298
}
299299

@@ -312,7 +312,7 @@ protected static String issueMoreFrom(String fromAddress, String toAddress, Stri
312312
* asset name, ref or issuance txid
313313
* @throws MultichainException
314314
*/
315-
protected static List<BalanceAsset> listAssets(String asset, boolean verbose) throws MultichainException {
315+
public static List<BalanceAsset> listAssets(String asset, boolean verbose) throws MultichainException {
316316
List<BalanceAsset> listBalanceAsset = new ArrayList<BalanceAsset>();
317317

318318
String stringBalanceAsset = executeListAssets(asset, verbose);
@@ -351,7 +351,7 @@ protected static List<BalanceAsset> listAssets(String asset, boolean verbose) th
351351
* @return
352352
* @throws MultichainException
353353
*/
354-
protected static String sendAssetFrom(String fromAddress, String toAddress, String assetName, float quantity) throws MultichainException {
354+
public static String sendAssetFrom(String fromAddress, String toAddress, String assetName, float quantity) throws MultichainException {
355355
return executeSendAssetFrom(fromAddress, toAddress, assetName, quantity);
356356
}
357357

0 commit comments

Comments
 (0)