[MOBY-guts] biomoby commit
Martin Senger
senger at dev.open-bio.org
Thu May 31 13:42:51 UTC 2007
senger
Thu May 31 09:42:51 EDT 2007
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/meta
In directory dev.open-bio.org:/tmp/cvs-serv1857/src/main/org/biomoby/registry/meta
Modified Files:
Registry.java
Log Message:
starting addign support for async services
moby-live/Java/src/main/org/biomoby/registry/meta Registry.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/meta/Registry.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/registry/meta/Registry.java 2006/10/02 17:57:49 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/meta/Registry.java 2007/05/31 13:42:51 1.2
@@ -68,7 +68,7 @@
*
********************************************************************/
public String toString() {
- StringBuffer buf = new StringBuffer (200);
+ StringBuilder buf = new StringBuilder (200);
String title = "Information about '" + getSynonym() + "' registry:";
buf.append (title);
buf.append ("\n");
@@ -80,7 +80,7 @@
buf.append ("Contact: " + getContact() + "\n");
buf.append ("Public: " + new Boolean (isPublic()).toString() + "\n\n");
buf.append ("Description:\n" + getDescription() + "\n");
- return new String (buf);
+ return buf.toString();
}
/*********************************************************************
More information about the MOBY-guts
mailing list