Skip to content

Commit

Permalink
Improved code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Sep 14, 2024
1 parent 3bedab4 commit 701dd1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public String getParameter (@Nonnull final String sKey) throws AS2InvalidParamet
Throwable aUnwrappedTarget;
if (m_aTarget instanceof WrappedAS2Exception)
{
aUnwrappedTarget = ((WrappedAS2Exception) m_aTarget).getCause ();
aUnwrappedTarget = m_aTarget.getCause ();
if (aUnwrappedTarget == null)
aUnwrappedTarget = m_aTarget;
}
Expand Down

0 comments on commit 701dd1a

Please sign in to comment.