[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Wed Apr 20 21:42:10 UTC 2005


kawas
Wed Apr 20 17:42:10 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-serv23926/org/biomoby/client/ui/graphical/applets/objectCreationTool

Modified Files:
	MobyXML.java Registration.java 
Log Message:
removed some import statements, renamed some variables that shadowed super class variables.
Eddie

moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/objectCreationTool MobyXML.java,1.2,1.3 Registration.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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /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
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/objectCreationTool/MobyXML.java	2005/04/20 21:42:10	1.3
@@ -53,10 +53,10 @@
 	 * POST: The root is renamed to 'MyObject' and a
 	 * new document is created.
 	 */
-	private void initXML(boolean prototype) {
+	private void initXML(boolean proto) {
 		root = new Element("MyObject");
 		document = new Document(root);
-		registration = new Registration("MyObject", prototype);
+		registration = new Registration("MyObject", proto);
 	}
 
 	/**

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/objectCreationTool/Registration.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/Registration.java	2005/04/07 16:42:26	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/objectCreationTool/Registration.java	2005/04/20 21:42:10	1.2
@@ -113,7 +113,7 @@
 	 *  @deprecated - no longer used.
 	 * TODO - remove method from class.
 	 */
-	public String getDataTypeInfo(String name) {
+	public String getDataTypeInfo(String nameToGet) {
 		String ret = "";
 		try {
 			Central worker = null;
@@ -121,7 +121,7 @@
 				worker = new org.biomoby.client.CentralImpl(ENDPOINT, NAMESPACE); // test registry <- so i dont mess up the real one!
 			else
 				worker = new org.biomoby.client.CentralImpl(org.biomoby.client.CentralImpl.DEFAULT_ENDPOINT, org.biomoby.client.CentralImpl.DEFAULT_NAMESPACE);
-			ret = worker.getDataType(name).toString();
+			ret = worker.getDataType(nameToGet).toString();
 		} catch (MobyException e) {
 			System.err.println(e.getMessage());
 		} catch (NoSuccessException e) {




More information about the MOBY-guts mailing list