Skip to content

Commit cdab238

Browse files
committed
Fix several minor javadoc issues
1 parent e94b77c commit cdab238

5 files changed

Lines changed: 10 additions & 6 deletions

File tree

pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
<name>MaxMind, Inc.</name>
2222
<url>http://www.maxmind.com/</url>
2323
</organization>
24+
<properties>
25+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26+
</properties>
2427
<dependencies>
2528
<dependency>
2629
<groupId>com.maxmind.geoip2</groupId>
@@ -205,4 +208,4 @@
205208
</plugin>
206209
</plugins>
207210
</build>
208-
</project>
211+
</project>

src/main/java/com/maxmind/minfraud/WebServiceClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public WebServiceClient build() {
170170
* Make a minFraud Insights request to the web service using the transaction
171171
* request object passed to the method.
172172
*
173-
* @param request A transaction request object.
173+
* @param transaction A transaction request object.
174174
* @return An Insights model object
175175
* @throws InsufficientFundsException when there are insufficient funds on
176176
* the account.
@@ -193,7 +193,7 @@ public InsightsResponse insights(Transaction transaction) throws IOException,
193193
* Make a minFraud Score request to the web service using the transaction
194194
* request object passed to the method.
195195
*
196-
* @param request A transaction request object.
196+
* @param transaction A transaction request object.
197197
* @return An Score model object
198198
* @throws InsufficientFundsException when there are insufficient funds on
199199
* the account.

src/main/java/com/maxmind/minfraud/exception/MinFraudException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This class represents a non-specific error with the web service.
55
* Generally this will be thrown if the web service responds with an
66
* expected status but unexpected content.
7-
* <p/>
7+
*
88
* It also serves as the base class for {@code AuthenticationException},
99
* {@code InsufficientFundsException}, and {@code InvalidRequestException}.
1010
*/
@@ -24,4 +24,4 @@ public MinFraudException(String message) {
2424
public MinFraudException(String message, Throwable e) {
2525
super(message, e);
2626
}
27-
}
27+
}

src/main/java/com/maxmind/minfraud/request/Transaction.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ public List<ShoppingCartItem> getShoppingCart() {
247247

248248
/**
249249
* @return The transaction as JSON.
250+
* @throws IOException when there is an issue encoding as JSON.
250251
*/
251252
public String toJson() throws IOException {
252253
ObjectMapper mapper = new ObjectMapper();

src/main/java/com/maxmind/minfraud/response/Warning.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public final class Warning {
1414
/**
1515
* This provides a machine-readable code identifying the warning. Although
1616
* more codes may be added in the future, the current codes are:
17-
* <p/>
17+
*
1818
* <ul>
1919
* <li>BILLING_CITY_NOT_FOUND – the billing city could not be found in
2020
* our database.</li>

0 commit comments

Comments
 (0)