Use correct <a> tag syntax in javadoc @see tag

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137946021
This commit is contained in:
jianglai 2016-11-02 08:05:29 -07:00 committed by Ben McIlwain
parent e7d3725f51
commit 59d998954c
42 changed files with 108 additions and 73 deletions

View file

@ -19,7 +19,7 @@ import com.google.common.collect.ImmutableBiMap;
/**
* Bimap of state codes and names for the US Regime.
*
* @see "http://statetable.com/"
* @see <a href="http://statetable.com/">State Table</a>
*/
public final class StateCode {

View file

@ -207,8 +207,10 @@ public final class RegistrarPaymentAction implements Runnable, JsonAction {
/**
* Handles a transaction success response.
*
* @see "https://developers.braintreepayments.com/reference/response/transaction/java#success"
* @see "https://developers.braintreepayments.com/reference/general/statuses#transaction"
* @see <a href="https://developers.braintreepayments.com/reference/response/transaction/java#success">
* Braintree - Transaction - Success</a>
* @see <a href="https://developers.braintreepayments.com/reference/general/statuses#transaction">
* Braintree - Statuses - Transaction</a>
*/
private Map<String, Object> handleSuccessResponse(Transaction transaction) {
// XXX: Currency scaling: https://github.com/braintree/braintree_java/issues/33
@ -232,8 +234,10 @@ public final class RegistrarPaymentAction implements Runnable, JsonAction {
*
* <p>This happens when the customer's bank blocks the transaction.
*
* @see "https://developers.braintreepayments.com/reference/response/transaction/java#processor-declined"
* @see "https://articles.braintreepayments.com/control-panel/transactions/declines"
* @see <a href="https://developers.braintreepayments.com/reference/response/transaction/java#processor-declined">
* Braintree - Transaction - Processor declined</a>
* @see <a href="https://articles.braintreepayments.com/control-panel/transactions/declines">
* Braintree - Transactions/Declines</a>
*/
private Map<String, Object> handleProcessorDeclined(Transaction transaction) {
logger.warningfmt("Processor declined: %s %s",
@ -248,8 +252,10 @@ public final class RegistrarPaymentAction implements Runnable, JsonAction {
* <p>This is a very rare condition that, for all intents and purposes, means the same thing as a
* processor declined response.
*
* @see "https://developers.braintreepayments.com/reference/response/transaction/java#processor-settlement-declined"
* @see "https://articles.braintreepayments.com/control-panel/transactions/declines"
* @see <a href="https://developers.braintreepayments.com/reference/response/transaction/java#processor-settlement-declined">
* Braintree - Transaction - Processor settlement declined</a>
* @see <a href="https://articles.braintreepayments.com/control-panel/transactions/declines">
* Braintree - Transactions/Declines</a>
*/
private Map<String, Object> handleSettlementDecline(Transaction transaction) {
logger.warningfmt("Settlement declined: %s %s",
@ -265,10 +271,14 @@ public final class RegistrarPaymentAction implements Runnable, JsonAction {
* <p>This happens when a transaction is blocked due to settings we configured ourselves in the
* Braintree control panel.
*
* @see "https://developers.braintreepayments.com/reference/response/transaction/java#gateway-rejection"
* @see "https://articles.braintreepayments.com/control-panel/transactions/gateway-rejections"
* @see "https://articles.braintreepayments.com/guides/fraud-tools/avs-cvv"
* @see "https://articles.braintreepayments.com/guides/fraud-tools/overview"
* @see <a href="https://developers.braintreepayments.com/reference/response/transaction/java#gateway-rejection">
* Braintree - Transaction - Gateway rejection</a>
* @see <a href="https://articles.braintreepayments.com/control-panel/transactions/gateway-rejections">
* Braintree - Transactions/Gateway Rejections</a>
* @see <a href="https://articles.braintreepayments.com/guides/fraud-tools/avs-cvv">
* Braintree - Fruad Tools/Basic Fraud Tools - AVS and CVV rules</a>
* @see <a href="https://articles.braintreepayments.com/guides/fraud-tools/overview">
* Braintree - Fraud Tools/Overview</a>
*/
private Map<String, Object> handleRejection(Transaction transaction) {
logger.warningfmt("Gateway rejection: %s", transaction.getGatewayRejectionReason());
@ -306,8 +316,10 @@ public final class RegistrarPaymentAction implements Runnable, JsonAction {
/**
* Handles a validation error response from Braintree.
*
* @see "https://developers.braintreepayments.com/reference/response/transaction/java#validation-errors"
* @see "https://developers.braintreepayments.com/reference/general/validation-errors/all/java"
* @see <a href="https://developers.braintreepayments.com/reference/response/transaction/java#validation-errors">
* Braintree - Transaction - Validation errors</a>
* @see <a href="https://developers.braintreepayments.com/reference/general/validation-errors/all/java">
* Braintree - Validation Errors/All</a>
*/
private Map<String, Object> handleValidationErrorResponse(ValidationErrors validationErrors) {
List<ValidationError> errors = validationErrors.getAllDeepValidationErrors();

View file

@ -61,7 +61,7 @@ import org.joda.money.CurrencyUnit;
* {@code registry.rpc.PaymentSetup} which must be updated should these definitions change.
*
* @see RegistrarPaymentAction
* @see "https://developers.braintreepayments.com/start/hello-server/java#generate-a-client-token"
* @see <a href="https://developers.braintreepayments.com/start/hello-server/java#generate-a-client-token">Generate a client token</a>
*/
@Action(
path = "/registrar-payment-setup",