- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 30 Sep 2009 14:58:25 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/input In directory hutz:/tmp/cvs-serv22566/src/org/w3c/unicorn/input Modified Files: URIInputModule.java FakeUploadInputModule.java DirectInputModule.java Log Message: fixed method negotiation was broken + changed InputModule constructor visibility to public Index: FakeUploadInputModule.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/input/FakeUploadInputModule.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- FakeUploadInputModule.java 23 Sep 2009 09:17:03 -0000 1.3 +++ FakeUploadInputModule.java 30 Sep 2009 14:58:23 -0000 1.4 @@ -47,7 +47,7 @@ * @param aInputModule * @throws IOException */ - protected FakeUploadInputModule(final InputModule aInputModule) + public FakeUploadInputModule(final InputModule aInputModule) throws IOException { logger.trace("Constructor"); logger.debug("Input module : " + aInputModule + "."); Index: DirectInputModule.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/input/DirectInputModule.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- DirectInputModule.java 23 Sep 2009 09:17:03 -0000 1.3 +++ DirectInputModule.java 30 Sep 2009 14:58:23 -0000 1.4 @@ -61,7 +61,7 @@ * @throws IOException * for unknown error */ - protected DirectInputModule(final InputModule aInputModule) + public DirectInputModule(final InputModule aInputModule) throws IOException { logger.trace("Constructor"); logger.debug("Input module : " + aInputModule + "."); Index: URIInputModule.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/input/URIInputModule.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- URIInputModule.java 23 Sep 2009 09:17:03 -0000 1.4 +++ URIInputModule.java 30 Sep 2009 14:58:23 -0000 1.5 @@ -13,6 +13,8 @@ import javax.activation.MimeType; import org.apache.commons.lang.StringEscapeUtils; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.w3c.unicorn.contract.EnumInputMethod; import org.w3c.unicorn.util.Property; @@ -23,6 +25,8 @@ */ public class URIInputModule implements InputModule { + public static final Log logger = LogFactory.getLog(URIInputModule.class); + /** * Sets the method of input to URI */ @@ -72,7 +76,7 @@ * @throws IOException * odd error occurs */ - protected URIInputModule(final InputModule aInputModule) throws IOException { + public URIInputModule(final InputModule aInputModule) throws IOException { logger.trace("Constructor."); logger.debug("InputModule : " + aInputModule + "."); this.aMimeType = aInputModule.getMimeType();
Received on Wednesday, 30 September 2009 14:58:26 UTC