Skip to content

Commit cf4e2d9

Browse files
committed
SP-992 Clean up warnings in JavaDoc generation
1 parent 9c1aab9 commit cf4e2d9

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.bitpay</groupId>
88
<artifactId>bitpay_sdk</artifactId>
9-
<version>10.0.3</version>
9+
<version>10.0.4</version>
1010
<packaging>jar</packaging>
1111

1212
<name>BitPay</name>

src/main/java/com/bitpay/sdk/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class Config {
3434
/**
3535
* BitPay Plugin Info Version.
3636
*/
37-
public static final String BITPAY_PLUGIN_INFO = "BitPay_Java_Client_v10.0.3";
37+
public static final String BITPAY_PLUGIN_INFO = "BitPay_Java_Client_v10.0.4";
3838
/**
3939
* BitPay Api Frame.
4040
*/

src/main/java/com/bitpay/sdk/client/CurrencyClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public static CurrencyClient getInstance(BitPayClient bitPayClient) throws BitPa
5858
*
5959
* @param currencyCode String Currency code for which the info will be retrieved.
6060
* @return Map |null
61+
* @throws BitPayGenericException BitPayGenericException class
6162
*/
6263
@SuppressWarnings("unchecked")
6364
public Map<String, Object> getInfo(String currencyCode) throws BitPayGenericException {

src/main/java/com/bitpay/sdk/client/RefundClient.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ public static RefundClient getInstance(
7979
*
8080
* @param refund Refund request data
8181
* @return Refund
82-
` * @throws BitPayApiException BitPayApiException class
83-
* @throws BitPayGenericException BitPayGenericException class`
82+
* @throws BitPayApiException BitPayApiException class
83+
* @throws BitPayGenericException BitPayGenericException class
8484
*/
8585
public Refund create(final Refund refund) throws BitPayApiException, BitPayGenericException {
8686
if (Objects.isNull(refund)) {
@@ -146,6 +146,7 @@ public Refund getById(final String refundId) throws BitPayApiException, BitPayGe
146146
* @param guid Guid
147147
* @return Refund
148148
* @throws BitPayApiException BitPayException
149+
* @throws BitPayGenericException BitPayGenericException class
149150
*/
150151
public Refund getByGuid(final String guid) throws BitPayApiException, BitPayGenericException {
151152
validateRefundId(guid);

src/main/java/com/bitpay/sdk/util/KeyUtils.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public static ECKey createEcKey() {
6666
*
6767
* @param privateKey the private key
6868
* @return the ec key
69+
* @throws BitPayGenericException BitPayGenericException class
6970
*/
7071
public static ECKey createEcKeyFromHexString(String privateKey) throws BitPayGenericException {
7172
byte[] bytes = hexToBytes(privateKey);
@@ -78,6 +79,7 @@ public static ECKey createEcKeyFromHexString(String privateKey) throws BitPayGen
7879
*
7980
* @param privKeyFile the priv key file
8081
* @return the ec key
82+
* @throws BitPayGenericException BitPayGenericException class
8183
* @throws IOException the io exception
8284
*/
8385
public static ECKey createEcKeyFromHexStringFile(String privKeyFile) throws IOException, BitPayGenericException {

src/test/java/com/bitpay/sdk/ConfigTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void it_should_returns_bitpay_api_version() {
5858

5959
@Test
6060
public void it_should_returns_bitpay_plugin_info() {
61-
Assertions.assertTrue(Config.BITPAY_PLUGIN_INFO.contains("BitPay_Java_Client_v10.0.3"));
61+
Assertions.assertTrue(Config.BITPAY_PLUGIN_INFO.contains("BitPay_Java_Client_v10.0.4"));
6262
}
6363

6464
@Test

0 commit comments

Comments
 (0)