You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2007/12/11 18:58:33 UTC

svn commit: r603316 - /commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathException.java

Author: mbenson
Date: Tue Dec 11 09:58:15 2007
New Revision: 603316

URL: http://svn.apache.org/viewvc?rev=603316&view=rev
Log:
[JXPATH-106] message concat bug found by Michele Vivoda

Modified:
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathException.java

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathException.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathException.java?rev=603316&r1=603315&r2=603316&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathException.java (original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathException.java Tue Dec 11 09:58:15 2007
@@ -90,7 +90,7 @@
             return message;
         }
         StringBuffer buf = new StringBuffer();
-        if (message == null) {
+        if (message != null) {
             buf.append(message).append("; ");
         }
         String eMsg = exception.getMessage();