db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: rev 47607 - incubator/derby/code/trunk/java/drda/org/apache/derby/drda
Date Thu, 30 Sep 2004 19:44:29 GMT
Author: kmarsden
Date: Thu Sep 30 12:44:28 2004
New Revision: 47607

Modified:
   incubator/derby/code/trunk/java/drda/org/apache/derby/drda/NetServlet.java
Log:
Fix Servlet Messages. Committed for lynhnn@Remulak.Net



Modified: incubator/derby/code/trunk/java/drda/org/apache/derby/drda/NetServlet.java
==============================================================================
--- incubator/derby/code/trunk/java/drda/org/apache/derby/drda/NetServlet.java	(original)
+++ incubator/derby/code/trunk/java/drda/org/apache/derby/drda/NetServlet.java	Thu Sep 30
12:44:28 2004
@@ -81,7 +81,7 @@
 		throws ServletException
 	{
 
-		LocalizedResource langUtil = new LocalizedResource();
+		LocalizedResource langUtil = new LocalizedResource(null,null,SERVLET_PROP_MESSAGES);
 				
 		String port = config.getInitParameter("portNumber");
 		if (port != null) {
@@ -896,7 +896,6 @@
 		locale = null;
 		if (acceptLanguage == null)
 		{
-        	localUtil.init();
 			return localUtil;
 		}
 		// Use a tokenizer ot separate acceptable languages
@@ -917,7 +916,6 @@
 			}
 		}
 		// nothing worked use defaults
-        localUtil.init();
 		return localUtil;
 		
 	}

Mime
View raw message