db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r630336 - in /db/jdo/trunk: api2-legacy/src/java/javax/jdo/JDOHelper.java api2/src/java/javax/jdo/JDOHelper.java
Date Fri, 22 Feb 2008 22:18:43 GMT
Author: clr
Date: Fri Feb 22 14:18:40 2008
New Revision: 630336

URL: http://svn.apache.org/viewvc?rev=630336&view=rev
Log:
JDO-576 Allow classes to be omitted from listener

Modified:
    db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOHelper.java
    db/jdo/trunk/api2/src/java/javax/jdo/JDOHelper.java

Modified: db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOHelper.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOHelper.java?rev=630336&r1=630335&r2=630336&view=diff
==============================================================================
--- db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOHelper.java (original)
+++ db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOHelper.java Fri Feb 22 14:18:40 2008
@@ -1640,7 +1640,7 @@
                 Node classesAtt = attributes.getNamedItem(
                     INSTANCE_LIFECYCLE_LISTENER_ATTRIBUTE_CLASSES);
                 String value = classesAtt == null
-                    ? null
+                    ? ""
                     : classesAtt.getNodeValue().trim();
 
                 p.put(listener,  value);

Modified: db/jdo/trunk/api2/src/java/javax/jdo/JDOHelper.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/JDOHelper.java?rev=630336&r1=630335&r2=630336&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/JDOHelper.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/JDOHelper.java Fri Feb 22 14:18:40 2008
@@ -1717,7 +1717,7 @@
                 Node classesAtt = attributes.getNamedItem(
                     INSTANCE_LIFECYCLE_LISTENER_ATTRIBUTE_CLASSES);
                 String value = classesAtt == null
-                    ? null
+                    ? ""
                     : classesAtt.getNodeValue().trim();
 
                 p.put(listener,  value);



Mime
View raw message