killbill-memoizeit

payment: remove confusing comment in PaymentGatewayProcessor While

12/1/2015 11:51:55 AM

Details

diff --git a/payment/src/main/java/org/killbill/billing/payment/core/PaymentGatewayProcessor.java b/payment/src/main/java/org/killbill/billing/payment/core/PaymentGatewayProcessor.java
index 1c99c33..2b3b010 100644
--- a/payment/src/main/java/org/killbill/billing/payment/core/PaymentGatewayProcessor.java
+++ b/payment/src/main/java/org/killbill/billing/payment/core/PaymentGatewayProcessor.java
@@ -52,11 +52,6 @@ import com.google.common.base.Objects;
 
 import static org.killbill.billing.payment.dispatcher.PaymentPluginDispatcher.dispatchWithExceptionHandling;
 
-// We don't take any lock here because the call needs to be re-entrant
-// from the plugin: for example, the BitPay plugin will create the payment during the
-// processNotification call, while the PayU plugin will create it during buildFormDescriptor.
-// These calls are not necessarily idempotent though (the PayU plugin will create
-// a voucher in the gateway during the buildFormDescriptor call).
 public class PaymentGatewayProcessor extends ProcessorBase {
 
     private final PluginDispatcher<HostedPaymentPageFormDescriptor> paymentPluginFormDispatcher;