[MOBY-guts] biomoby commit

Martin Senger senger at dev.open-bio.org
Sun Mar 2 12:45:27 UTC 2008


senger
Sun Mar  2 07:45:26 EST 2008
Update of /home/repository/moby/moby-live/Java/src/samples/org/jmoby/tutorial/service
In directory dev.open-bio.org:/tmp/cvs-serv32345/src/samples/org/jmoby/tutorial/service

Modified Files:
	MabuhayImpl.java 
Log Message:
Too Many Changes - see docs/ChangeLog

moby-live/Java/src/samples/org/jmoby/tutorial/service MabuhayImpl.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/samples/org/jmoby/tutorial/service/MabuhayImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/samples/org/jmoby/tutorial/service/MabuhayImpl.java	2005/08/26 06:27:05	1.1
+++ /home/repository/moby/moby-live/Java/src/samples/org/jmoby/tutorial/service/MabuhayImpl.java	2008/03/02 12:45:26	1.2
@@ -93,7 +93,7 @@
 	}
 
 	// match pattern against all possible values we have
-	Vector v = new Vector();
+	Vector<simple_key_value_pair> v = new Vector<simple_key_value_pair>();
 	Matcher matcher = pattern.matcher ("");
 	for (int i = 0; i < languages.length; i++) {
  	    matcher.reset (languages[i]);
@@ -124,8 +124,8 @@
 	    ("resources/mabuhay.file");
 	if (ins != null) {
 	    try {
-		Vector l = new Vector (3000);
-		Vector h = new Vector (3000);
+		Vector<String> l = new Vector<String> (3000);
+		Vector<String> h = new Vector<String> (3000);
 		BufferedReader data = new BufferedReader (new InputStreamReader (ins));
 		String line;
 		while ((line = data.readLine()) != null) {




More information about the MOBY-guts mailing list