rdonkin 2004/11/09 08:15:54
Modified: betwixt/src/java/org/apache/commons/betwixt
IntrospectionConfiguration.java
betwixt/src/java/org/apache/commons/betwixt/io
AbstractBeanWriter.java
Log:
Fixed issue with element suppression in maps.
Revision Changes Path
1.7 +3 -2
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/IntrospectionConfiguration.java
Index: IntrospectionConfiguration.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/IntrospectionConfiguration.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- IntrospectionConfiguration.java 8 Nov 2004 22:29:11 -0000 1.6
+++ IntrospectionConfiguration.java 9 Nov 2004 16:15:54 -0000 1.7
@@ -395,6 +395,7 @@
|| Map.class.isAssignableFrom( type )
|| Collection.class.isAssignableFrom( type )
|| Enumeration.class.isAssignableFrom( type )
- || Iterator.class.isAssignableFrom( type );
+ || Iterator.class.isAssignableFrom( type )
+ || Map.Entry.class.isAssignableFrom( type ) ;
}
}
1.34 +1 -2
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java
Index: AbstractBeanWriter.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- AbstractBeanWriter.java 8 Nov 2004 22:29:11 -0000 1.33
+++ AbstractBeanWriter.java 9 Nov 2004 16:15:54 -0000 1.34
@@ -28,7 +28,6 @@
import org.apache.commons.betwixt.ElementDescriptor;
import org.apache.commons.betwixt.XMLBeanInfo;
import org.apache.commons.betwixt.XMLIntrospector;
-import org.apache.commons.betwixt.digester.XMLIntrospectorHelper;
import org.apache.commons.betwixt.expression.Context;
import org.apache.commons.betwixt.expression.Expression;
import org.apache.commons.betwixt.io.id.SequentialIDGenerator;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]