Skip to content

Commit

Permalink
Fixed JavaDoc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Aug 31, 2024
1 parent 8046a91 commit 877a0e3
Showing 1 changed file with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,7 @@ public final IAS4CryptoFactory getCryptoFactorySign ()
}

/**
* Set the crypto factory for signing. This is a sanity wrapper around
* {@link #setCryptoFactorySignSupplier(Supplier)}.
* Set the crypto factory for signing.
*
* @param aCryptoFactorySign
* Crypto factory for signing to use. May not be <code>null</code>.
Expand Down Expand Up @@ -448,8 +447,7 @@ public final IAS4CryptoFactory getCryptoFactoryCrypt ()
}

/**
* Set the crypto factory crypting. This is a sanity wrapper around
* {@link #setCryptoFactoryCryptSupplier(Supplier)}.
* Set the crypto factory crypting.
*
* @param aCryptoFactoryCrypt
* Crypto factory for crypting to use. May not be <code>null</code>.
Expand All @@ -468,7 +466,7 @@ public final AS4RequestHandler setCryptoFactoryCrypt (@Nonnull final IAS4CryptoF

/**
* Set the same crypto factory for signing and crypting. This is a sanity
* wrapper around {@link #setCryptoFactorySupplier(Supplier)}.
* wrapper around {@link #setCryptoFactory(IAS4CryptoFactory)}.
*
* @param aCryptoFactory
* Crypto factory to use. May not be <code>null</code>.
Expand Down Expand Up @@ -861,9 +859,8 @@ private void _invokeSPIsForIncoming (@Nonnull final HttpHeaderMap aHttpHeaders,
"Only one of User OR Signal Message may be present");

final boolean bIsUserMessage = aEbmsUserMessage != null;
final String sMessageID = bIsUserMessage ? aEbmsUserMessage.getMessageInfo ().getMessageId () : aEbmsSignalMessage
.getMessageInfo ()
.getMessageId ();
final String sMessageID = bIsUserMessage ? aEbmsUserMessage.getMessageInfo ().getMessageId ()
: aEbmsSignalMessage.getMessageInfo ().getMessageId ();

// Get all processors
final ICommonsList <IAS4IncomingMessageProcessorSPI> aAllProcessors = m_aProcessorSupplier.get ();
Expand Down Expand Up @@ -1086,8 +1083,8 @@ private void _invokeSPIsForResponse (@Nonnull final IAS4IncomingMessageState aIn
byte [] aResponsePayload = null;
if (aResponseFactory != null)
{
final HttpEntity aRealHttpEntity = aHttpEntity != null ? aHttpEntity : aResponseFactory.getHttpEntityForSending (
aMimeType);
final HttpEntity aRealHttpEntity = aHttpEntity != null ? aHttpEntity
: aResponseFactory.getHttpEntityForSending (aMimeType);
if (aRealHttpEntity.isRepeatable ())
{
int nContentLength = (int) aRealHttpEntity.getContentLength ();
Expand Down Expand Up @@ -1838,8 +1835,9 @@ private IAS4ResponseFactory _handleSoapMessage (@Nonnull final HttpHeaderMap aHt
new ResponseHandlerXml ());
}
AS4HttpDebug.debug ( () -> "SEND-RESPONSE [async sent] received: " +
(aAsyncResponse == null ? "null" : XMLWriter.getNodeAsString (aAsyncResponse,
AS4HttpDebug.getDebugXMLWriterSettings ())));
(aAsyncResponse == null ? "null"
: XMLWriter.getNodeAsString (aAsyncResponse,
AS4HttpDebug.getDebugXMLWriterSettings ())));
};

final CompletableFuture <Void> aFuture = PhotonWorkerPool.getInstance ()
Expand Down Expand Up @@ -2057,8 +2055,8 @@ public void handleRequest (@Nonnull @WillClose final InputStream aRequestInputSt
if (aResponder != null)
{
// Response present -> send back
final IAS4OutgoingDumper aRealOutgoingDumper = m_aOutgoingDumper != null ? m_aOutgoingDumper : AS4DumpManager
.getOutgoingDumper ();
final IAS4OutgoingDumper aRealOutgoingDumper = m_aOutgoingDumper != null ? m_aOutgoingDumper
: AS4DumpManager.getOutgoingDumper ();
aResponder.applyToResponse (aHttpResponse, aRealOutgoingDumper);
}
else
Expand Down

0 comments on commit 877a0e3

Please sign in to comment.