2002/css-validator/org/w3c/css/properties CssProperties.java,1.2,1.3

Update of /sources/public/2002/css-validator/org/w3c/css/properties
In directory hutz:/tmp/cvs-serv17634/css/properties

Modified Files:
	CssProperties.java 
Log Message:
Utf8 properties (Jean-Guilhem Rouel)

Index: CssProperties.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/CssProperties.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CssProperties.java	8 Apr 2002 21:17:44 -0000	1.2
+++ CssProperties.java	12 Jul 2005 14:47:55 -0000	1.3
@@ -6,14 +6,15 @@
 // Please first read the full copyright statement in file COPYRIGHT.html
 package org.w3c.css.properties;
 
-import java.util.Properties;
 import java.net.URL;
 
+import org.w3c.css.util.Utf8Properties;
+
 /**
  * @version $Revision$
  */
 public class CssProperties {
-  public static Properties properties;
+	public static Utf8Properties properties;
 
   public static String getString(CssProperty property, String prop) {
     StringBuffer st = new StringBuffer(property.getPropertyName());
@@ -25,15 +26,16 @@
   }
   
   static {
-    properties = new Properties();
+		properties = new Utf8Properties();
     try {
       URL url = CssProperties.class.getResource("CSS1Default.properties");
       java.io.InputStream f = url.openStream();
       properties.load(f);
       f.close();
     } catch (Exception e) {
-      System.err.println("org.w3c.css.properties.CssProperties: couldn't load properties ");
-      System.err.println("  " + e.toString() );
+			System.err
+					.println("org.w3c.css.properties.CssProperties: couldn't load properties ");
+			System.err.println("  " + e.toString());
     }
   }
 }

Received on Tuesday, 12 July 2005 14:48:02 UTC