o MAVEN-269: There was an erroneous call to velocity's getText method when the argument would

probably be null.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112957 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
bwalding
2003-02-19 06:33:32 +00:00
parent 603d7ce668
commit 02528681e6

View File

@@ -54,15 +54,13 @@
<define:tag name="displayFailure">
<j:choose>
<j:when test="${current.attribute('message') != null}">
${htmlescape.getText(current.attribute('message').value)}
<code>
${htmlescape.getText(current.attribute('message').value)}
</code>
</j:when>
<j:otherwise>
N/A
</j:otherwise>
<p/>
<code>
${htmlescape.getText(current.value())}
</code>
</j:choose>
</define:tag>
</define:taglib>