2002/css-validator/org/w3c/css/servlet CssValidator.java,1.15,1.16

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

Modified Files:
	CssValidator.java 
Log Message:
some more encoding issues (by Jean-Guilhem Rouel)


Index: CssValidator.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/servlet/CssValidator.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- CssValidator.java	25 Nov 2004 13:23:25 -0000	1.15
+++ CssValidator.java	12 Jul 2005 13:21:34 -0000	1.16
@@ -5,55 +5,41 @@
 // (c) COPYRIGHT MIT and INRIA, 1997.
 // Please first read the full copyright statement in file COPYRIGHT.html
 
-
 package org.w3c.css.servlet;
 
-import java.io.IOException;
-import java.io.EOFException;
-import java.io.PrintWriter;
-import java.io.OutputStreamWriter;
-import java.io.InputStream;
[...1135 lines suppressed...]
+		/*
+		 * System.err.println("CSS Validator: request failed.");
+		 * e.printStackTrace();
+		 */
+	    }
+	} catch (Exception unknown) {
+	    if (out != null) {
+		out.println("org.w3c.css.servlet.CssValidator: couldn't "
+			    + "load  error file");
+		out.flush();
+	    }
+	    unknown.printStackTrace();
+	} finally {
+	    if (out != null) {
+		out.close();
+	    }
+	}
     }
 
 }

Received on Tuesday, 12 July 2005 13:21:39 UTC