[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Thu Apr 7 21:01:35 UTC 2005


kawas
Thu Apr  7 17:01:35 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/objectCreationTool
In directory pub.open-bio.org:/tmp/cvs-serv4947/org/biomoby/client/ui/graphical/applets/objectCreationTool

Modified Files:
	MobyXML.java 
Log Message:
fixed some lexical/etc errors that javac found.

moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/objectCreationTool MobyXML.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/objectCreationTool/MobyXML.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/objectCreationTool/MobyXML.java	2005/04/07 16:42:26	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/objectCreationTool/MobyXML.java	2005/04/07 21:01:35	1.2
@@ -267,8 +267,8 @@
 	public String toString() {
 		String str = out.outputString(document);
 		String newline = System.getProperty("line.separator");
-		String has = "  (cardinality 1+)";
-		String hasa = "  (cardinality 1)";
+		String _has = "  (cardinality 1+)";
+		String _hasa = "  (cardinality 1)";
 		StringBuffer sb = new StringBuffer("");
 		Pattern hasPattern =  Pattern.compile("(HAS_TAG_PM_)");
 		Pattern hasaPattern =  Pattern.compile("(HASA_TAG_PM_)");
@@ -280,9 +280,9 @@
 			int start = 0;
 			int end = 0;
 			if ((matcher = hasPattern.matcher(line)).find()) {
-				sb.append(matcher.replaceAll("") + " " + has + newline);
+				sb.append(matcher.replaceAll("") + " " + _has + newline);
 			} else if ((matcher = hasaPattern.matcher(line)).find()) {
-				sb.append(matcher.replaceAll("") + " " + hasa + newline);
+				sb.append(matcher.replaceAll("") + " " + _hasa + newline);
 			} else {
 				sb.append(line + newline);
 			}




More information about the MOBY-guts mailing list