Skip to content

Commit

Permalink
chore: update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Aug 8, 2024
1 parent 3484f54 commit a9de86a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ As this project is pre 1.0, breaking changes may happen for minor version bumps.
- feat: add support for Soroban PRC's `getTransactions` and `getFeeStats` API.
- feat: add support for Horizon's 'transaction_async' API.
- feat: optimize `RequestTimeoutException`, when a timeout occurs, if the server returns some information, you can read them.
- refactor!: mark `Asset#create(String, String, String)` as deprecated, use `Asset.createNonNativeAsset(String, String)` or `Asset.createNativeAsset()` instead.
- feat: add `Asset.createNonNativeAsset(String, String)` and `Asset.createNativeAsset()`.
- refactor!: remove `LiquidityPoolID`. Use `String` to represent the liquidity pool ID.
- refactor!: `LiquidityPoolWithdrawOperation#LiquidityPoolWithdrawOperation(AssetAmount, AssetAmount, String)` has been removed. Use `LiquidityPoolWithdrawOperation#LiquidityPoolWithdrawOperation(Asset, BigDecimal, Asset, BigDecimal, BigDecimal)` instead.
- refactor!: `LiquidityPoolDepositOperation#LiquidityPoolDepositOperation(AssetAmount, AssetAmount, Price, Price)` has been removed. Use `LiquidityPoolDepositOperation#LiquidityPoolDepositOperation(Asset, BigDecimal, Asset, BigDecimal, Price, Price)` instead.
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/org/stellar/sdk/Asset.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ public static Asset create(String canonicalForm) {
}

/**
* Deprecated: Use {@link Asset#createNonNativeAsset(String, String)} or {@link
* Asset#createNativeAsset()} instead.
*
* <p>Creates Asset for Alpha4/Alpha12/Native
*
* @param type the type of asset. 'native' will generate its respective asset sub-class, if null
Expand All @@ -51,7 +48,6 @@ public static Asset create(String canonicalForm) {
* @param issuer the asset issuer or null
* @return Asset
*/
@Deprecated
public static Asset create(String type, String code, String issuer) {
if (type == null) {
return createNonNativeAsset(code, issuer);
Expand Down

0 comments on commit a9de86a

Please sign in to comment.