[MOBY-guts] biomoby commit

Martin Senger senger at pub.open-bio.org
Tue Oct 25 09:02:08 UTC 2005


senger
Tue Oct 25 05:02:08 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared
In directory pub.open-bio.org:/tmp/cvs-serv26713/src/main/org/biomoby/shared

Modified Files:
	MobyDataType.java 
Log Message:


moby-live/Java/src/main/org/biomoby/shared MobyDataType.java,1.9,1.10
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyDataType.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyDataType.java	2005/09/24 17:51:52	1.9
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyDataType.java	2005/10/25 09:02:08	1.10
@@ -26,6 +26,12 @@
 
 public class MobyDataType implements Comparable {
 
+    /**
+     * A dummy name used for MobyDataType instances that do not have
+     * (yet) a real name.
+     */
+    static public final String DUMMY_NAME = "_dummy_";
+
     public int compareTo (Object obj) {
 	return name.compareToIgnoreCase ( ((MobyDataType)obj).getName() );
     }
@@ -46,7 +52,7 @@
      * Default constructor.
      *************************************************************************/
     public MobyDataType() {
-	this ("_dummy_");
+	this (DUMMY_NAME);
     }
 
     /**************************************************************************




More information about the MOBY-guts mailing list