W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2009

2006/unicorn/src/org/w3c/unicorn Framework.java,1.27,1.28

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 23 Oct 2009 13:24:43 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1N1K8J-00064B-Nm@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn
In directory hutz:/tmp/cvs-serv23234/src/org/w3c/unicorn

Modified Files:
	Framework.java 
Log Message:
changed constructor of Response implementation to (InputStream is, String charset, String observerId)


Index: Framework.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/Framework.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- Framework.java	21 Oct 2009 14:25:33 -0000	1.27
+++ Framework.java	23 Oct 2009 13:24:41 -0000	1.28
@@ -269,7 +269,7 @@
 			String className = aProperties.getProperty(key.toString());
 			try {
 				if (Response.class.isAssignableFrom(Class.forName(className))) {
-					Class.forName(className).getConstructor(InputStream.class, String.class);
+					Class.forName(className).getConstructor(InputStream.class, String.class, String.class);
 					responseImpl.put(key.toString(), (Class<Response>) Class.forName(className));
 					logger.debug("> Implementation loaded: " + responseImpl.get(key).getClass().toString());
 				} else {
@@ -278,7 +278,7 @@
 			} catch (ClassNotFoundException e) {
 				logger.error("Class not found: " + className + ". Check responseImpl.properties.");
 			} catch (NoSuchMethodException e) {
-				logger.error("Response implementation: " + className + " does not have a constructor with signature (InputStream is, String charset). Implementation skipped.");
+				logger.error("Response implementation: " + className + " does not have a constructor with signature (InputStream is, String charset, String observerId). Implementation skipped.");
 			} catch (Exception e) {
 				logger.error("Error trying to instanciate: " + className, e);
 			}
Received on Friday, 23 October 2009 13:24:50 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:39 UTC