Skip to content

Commit 627e174

Browse files
committed
Renamed method
1 parent 188127a commit 627e174

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

phase2-lib/src/main/java/com/helger/phase2/processor/receiver/net/AS2ReceiverHandler.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -391,12 +391,12 @@ protected void decompress (@Nonnull final IMessage aMsg, @Nonnull final AS2Resou
391391
}
392392

393393
// Send a synchronous MDN
394-
protected void sendMDN (@Nonnull final String sClientInfo,
395-
@Nonnull final IAS2HttpResponseHandler aResponseHandler,
396-
@Nonnull final AS2Message aMsg,
397-
@Nonnull final DispositionType aDisposition,
398-
@Nonnull final String sText,
399-
@Nonnull final ESuccess eSuccess)
394+
protected void sendSyncMDN (@Nonnull final String sClientInfo,
395+
@Nonnull final IAS2HttpResponseHandler aResponseHandler,
396+
@Nonnull final AS2Message aMsg,
397+
@Nonnull final DispositionType aDisposition,
398+
@Nonnull final String sText,
399+
@Nonnull final ESuccess eSuccess)
400400
{
401401
final boolean bAllowErrorMDN = !aMsg.partnership ().isBlockErrorMDN ();
402402
if (eSuccess.isSuccess () || bAllowErrorMDN)
@@ -683,12 +683,12 @@ public void handleIncomingMessage (@Nonnull final String sClientInfo,
683683
LOGGER.trace ("AS2 message is requesting an MDN");
684684

685685
// Transmit a success MDN if requested
686-
sendMDN (sClientInfo,
687-
aResponseHandler,
688-
aMsg,
689-
DispositionType.createSuccess (),
690-
AbstractActiveNetModule.DISP_SUCCESS,
691-
ESuccess.SUCCESS);
686+
sendSyncMDN (sClientInfo,
687+
aResponseHandler,
688+
aMsg,
689+
DispositionType.createSuccess (),
690+
AbstractActiveNetModule.DISP_SUCCESS,
691+
ESuccess.SUCCESS);
692692
}
693693
else
694694
{
@@ -707,7 +707,7 @@ public void handleIncomingMessage (@Nonnull final String sClientInfo,
707707
}
708708
catch (final AS2DispositionException ex)
709709
{
710-
sendMDN (sClientInfo, aResponseHandler, aMsg, ex.getDisposition (), ex.getText (), ESuccess.FAILURE);
710+
sendSyncMDN (sClientInfo, aResponseHandler, aMsg, ex.getDisposition (), ex.getText (), ESuccess.FAILURE);
711711
m_aReceiverModule.handleError (aMsg, ex);
712712
}
713713
catch (final AS2Exception ex)

0 commit comments

Comments
 (0)