commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r603316 - /commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathException.java
Date Tue, 11 Dec 2007 17:58:33 GMT
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();



Mime
View raw message