geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1364476 - /geronimo/yoko/trunk/yoko-core/src/main/java/org/apache/yoko/orb/OB/ValueReader.java
Date Mon, 23 Jul 2012 02:22:48 GMT
Author: xiaming
Date: Mon Jul 23 02:22:48 2012
New Revision: 1364476

URL: http://svn.apache.org/viewvc?rev=1364476&view=rev
Log:
GERONIMOTCK-133 Change equation comparation order to avoid NPE

Modified:
    geronimo/yoko/trunk/yoko-core/src/main/java/org/apache/yoko/orb/OB/ValueReader.java

Modified: geronimo/yoko/trunk/yoko-core/src/main/java/org/apache/yoko/orb/OB/ValueReader.java
URL: http://svn.apache.org/viewvc/geronimo/yoko/trunk/yoko-core/src/main/java/org/apache/yoko/orb/OB/ValueReader.java?rev=1364476&r1=1364475&r2=1364476&view=diff
==============================================================================
--- geronimo/yoko/trunk/yoko-core/src/main/java/org/apache/yoko/orb/OB/ValueReader.java (original)
+++ geronimo/yoko/trunk/yoko-core/src/main/java/org/apache/yoko/orb/OB/ValueReader.java Mon
Jul 23 02:22:48 2012
@@ -1081,7 +1081,7 @@ final public class ValueReader {
             result = read(strategy);
         } catch (org.omg.CORBA.MARSHAL marshalex) {
             logger.severe(marshalex.getMessage() + " at pos=" + (in_.buf_.pos_- 4));
-            if (System.getProperty("org.apache.yoko.ignoreInvalidValueTag").equalsIgnoreCase("true"))
{
+            if ("true".equalsIgnoreCase(System.getProperty("org.apache.yoko.ignoreInvalidValueTag")))
{
                 result = read(strategy);
             } else {
                 throw marshalex;



Mime
View raw message