You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by zi...@apache.org on 2004/05/05 02:46:57 UTC
cvs commit: xml-xmlbeans/v2/src/marshal/org/apache/xmlbeans/impl/marshal ListArrayRuntimeBindingType.java
zieg 2004/05/04 17:46:57
Modified: v2/src/marshal/org/apache/xmlbeans/impl/marshal
ListArrayRuntimeBindingType.java
Log:
cleanup assertions
Revision Changes Path
1.8 +2 -7 xml-xmlbeans/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ListArrayRuntimeBindingType.java
Index: ListArrayRuntimeBindingType.java
===================================================================
RCS file: /home/cvs/xml-xmlbeans/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ListArrayRuntimeBindingType.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ListArrayRuntimeBindingType.java 30 Apr 2004 21:31:48 -0000 1.7
+++ ListArrayRuntimeBindingType.java 5 May 2004 00:46:56 -0000 1.8
@@ -127,18 +127,13 @@
Object getValue(Object parentObject, MarshalResult result)
throws XmlException
{
- return Array.get(parentObject, result.getCurrIndex());
+ throw new AssertionError("not used");
}
boolean isSet(Object parentObject, MarshalResult result)
throws XmlException
{
- throw new AssertionError("UNIMP: TODO: FIXME");
- //if (itemType.isJavaPrimitive()) return true;
-
- //TODO: consider isSet for array elements?
-
- //return getValue(parentObject, result) != null;
+ throw new AssertionError("not used");
}
boolean isMultiple()
---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org