2006/unicorn/src/org/w3c/unicorn/language Language.java,1.1.2.7,1.1.2.8

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/language
In directory hutz:/tmp/cvs-serv15427/src/org/w3c/unicorn/language

Modified Files:
      Tag: dev2
	Language.java 
Log Message:
removed unused imports

Index: Language.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/language/Attic/Language.java,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -d -r1.1.2.7 -r1.1.2.8
--- Language.java	13 Aug 2009 17:28:34 -0000	1.1.2.7
+++ Language.java	17 Aug 2009 09:05:42 -0000	1.1.2.8
@@ -1,15 +1,12 @@
 package org.w3c.unicorn.language;
 
 import java.io.File;
-import java.io.FileInputStream;
 import java.io.FileReader;
 import java.io.IOException;
 import java.net.MalformedURLException;
 import java.util.Enumeration;
-import java.util.Hashtable;
 import java.util.Iterator;
 import java.util.Locale;
-import java.util.Map;
 import java.util.Properties;
 import java.util.Set;
 
@@ -58,7 +55,7 @@
 	    }
 	}
 	
-	public static String negociate(Enumeration locales) {
+	public static String negociate(Enumeration<Locale> locales) {
 		while (locales.hasMoreElements()) {
 			Locale loc = (Locale) locales.nextElement();
 			if (Framework.getLanguageProperties().containsKey(loc.getLanguage())) {
@@ -81,7 +78,6 @@
 	}
 
 	public static VelocityContext getContext(String langParameter) {
-		System.out.println(langParameter);
 		if (langParameter != null && Framework.getLanguageContexts().containsKey(langParameter))
 			return Framework.getLanguageContexts().get(langParameter);
 		else

Received on Monday, 17 August 2009 09:05:53 UTC