[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Wed Feb 13 09:11:06 UTC 2008


gordonp
Wed Feb 13 04:11:05 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data
In directory dev.open-bio.org:/tmp/cvs-serv16496/src/main/org/biomoby/shared/data

Modified Files:
	MobyDataComposite.java 
Log Message:
Fixed null popinter on parsing composites not in the registry, now it's a MobyException, as intended
moby-live/Java/src/main/org/biomoby/shared/data MobyDataComposite.java,1.24,1.25
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataComposite.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataComposite.java	2008/01/07 22:11:36	1.24
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataComposite.java	2008/02/13 09:11:05	1.25
@@ -38,9 +38,9 @@
     }
 
     public MobyDataComposite(org.w3c.dom.Element element, Registry registry) throws MobyException{
-	this(MobyDataType.getDataType(element.getLocalName(), registry), 
+	this(element.getLocalName(), 
 	     getName(element), 
-	     getNamespace(element, registry), 
+	     element, 
 	     getId(element));
 	if(getDataType() == null){
 	    throw new MobyException("Attempted to build a composite MOBY object from XML, " +




More information about the MOBY-guts mailing list