- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 17 Sep 2009 17:06:50 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/input In directory hutz:/tmp/cvs-serv9250/src/org/w3c/unicorn/input Modified Files: URIInputParameter.java Log Message: updated imports Index: URIInputParameter.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/input/URIInputParameter.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- URIInputParameter.java 17 Sep 2009 17:05:08 -0000 1.4 +++ URIInputParameter.java 17 Sep 2009 17:06:48 -0000 1.5 @@ -1,6 +1,5 @@ package org.w3c.unicorn.input; -import java.io.FileNotFoundException; import java.io.IOException; import java.net.ConnectException; import java.net.HttpURLConnection; @@ -36,7 +35,6 @@ HttpURLConnection con = (HttpURLConnection) docUrl.openConnection(); con.setConnectTimeout(connectTimeOut); con.connect(); - Message message; int responseCode = con.getResponseCode(); switch (responseCode) { @@ -47,7 +45,6 @@ message = new Message(Message.Level.ERROR, "$message_document_not_found", null); throw new UnicornException(message); } - String sMimeType = con.getContentType(); sMimeType = sMimeType.split(";")[0]; mimeType = new MimeType(sMimeType);
Received on Thursday, 17 September 2009 17:07:03 UTC