Skip to content

Commit

Permalink
SP-992 Clean up warnings in JavaDoc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbrodie committed Jul 12, 2024
1 parent 9c1aab9 commit cf4e2d9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.bitpay</groupId>
<artifactId>bitpay_sdk</artifactId>
<version>10.0.3</version>
<version>10.0.4</version>
<packaging>jar</packaging>

<name>BitPay</name>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/bitpay/sdk/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class Config {
/**
* BitPay Plugin Info Version.
*/
public static final String BITPAY_PLUGIN_INFO = "BitPay_Java_Client_v10.0.3";
public static final String BITPAY_PLUGIN_INFO = "BitPay_Java_Client_v10.0.4";
/**
* BitPay Api Frame.
*/
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/bitpay/sdk/client/CurrencyClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public static CurrencyClient getInstance(BitPayClient bitPayClient) throws BitPa
*
* @param currencyCode String Currency code for which the info will be retrieved.
* @return Map |null
* @throws BitPayGenericException BitPayGenericException class
*/
@SuppressWarnings("unchecked")
public Map<String, Object> getInfo(String currencyCode) throws BitPayGenericException {
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/com/bitpay/sdk/client/RefundClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public static RefundClient getInstance(
*
* @param refund Refund request data
* @return Refund
` * @throws BitPayApiException BitPayApiException class
* @throws BitPayGenericException BitPayGenericException class`
* @throws BitPayApiException BitPayApiException class
* @throws BitPayGenericException BitPayGenericException class
*/
public Refund create(final Refund refund) throws BitPayApiException, BitPayGenericException {
if (Objects.isNull(refund)) {
Expand Down Expand Up @@ -146,6 +146,7 @@ public Refund getById(final String refundId) throws BitPayApiException, BitPayGe
* @param guid Guid
* @return Refund
* @throws BitPayApiException BitPayException
* @throws BitPayGenericException BitPayGenericException class
*/
public Refund getByGuid(final String guid) throws BitPayApiException, BitPayGenericException {
validateRefundId(guid);
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/bitpay/sdk/util/KeyUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public static ECKey createEcKey() {
*
* @param privateKey the private key
* @return the ec key
* @throws BitPayGenericException BitPayGenericException class
*/
public static ECKey createEcKeyFromHexString(String privateKey) throws BitPayGenericException {
byte[] bytes = hexToBytes(privateKey);
Expand All @@ -78,6 +79,7 @@ public static ECKey createEcKeyFromHexString(String privateKey) throws BitPayGen
*
* @param privKeyFile the priv key file
* @return the ec key
* @throws BitPayGenericException BitPayGenericException class
* @throws IOException the io exception
*/
public static ECKey createEcKeyFromHexStringFile(String privKeyFile) throws IOException, BitPayGenericException {
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/bitpay/sdk/ConfigTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void it_should_returns_bitpay_api_version() {

@Test
public void it_should_returns_bitpay_plugin_info() {
Assertions.assertTrue(Config.BITPAY_PLUGIN_INFO.contains("BitPay_Java_Client_v10.0.3"));
Assertions.assertTrue(Config.BITPAY_PLUGIN_INFO.contains("BitPay_Java_Client_v10.0.4"));
}

@Test
Expand Down

0 comments on commit cf4e2d9

Please sign in to comment.