- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 29 Aug 2005 12:06:40 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/css In directory hutz:/tmp/cvs-serv14927 Modified Files: HTMLStyleSheetParser.java Log Message: all typo are belong to us... Index: HTMLStyleSheetParser.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/css/HTMLStyleSheetParser.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- HTMLStyleSheetParser.java 29 Aug 2005 12:00:42 -0000 1.15 +++ HTMLStyleSheetParser.java 29 Aug 2005 12:06:38 -0000 1.16 @@ -85,7 +85,7 @@ try { boolean isXML = false; - String contentType; + String cType; // @@ hum, maybe? (plh, yes probably :-) ) String credential = ac.getCredential(); @@ -104,7 +104,7 @@ } MimeType contentType = null; try { - contentType = new MimeTYpe(cType()); + contentType = new MimeType(cType); } catch (MimeTypeFormatException ex) { } @@ -113,7 +113,7 @@ contentType + ']'); } - if (cType.match(MimeType.TEXT_HTML) == + if (contentType.match(MimeType.TEXT_HTML) == MimeType.MATCH_SPECIFIC_SUBTYPE) { HtmlParser htmlParser; htmlParser = new HtmlParser(ac, "html4", urlString,
Received on Monday, 29 August 2005 12:06:42 UTC