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

2006/unicorn/src/org/w3c/unicorn/response/impl DefaultResponseXBeans.java,1.12,1.13 OldResponseXBeans.java,1.8,1.9

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-00063z-I7@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/response/impl
In directory hutz:/tmp/cvs-serv23234/src/org/w3c/unicorn/response/impl

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


Index: DefaultResponseXBeans.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/response/impl/DefaultResponseXBeans.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- DefaultResponseXBeans.java	23 Oct 2009 12:59:14 -0000	1.12
+++ DefaultResponseXBeans.java	23 Oct 2009 13:24:41 -0000	1.13
@@ -44,11 +44,13 @@
 	
 	private String observerID;
 	
-	public DefaultResponseXBeans(InputStream is, String charset) throws UnicornException {
+	public DefaultResponseXBeans(InputStream is, String charset, String observerID) throws UnicornException {
 		
 		if (charset == null)
 			charset = "UTF-8";
 		
+		this.observerID = observerID;
+		
 		try {
 			ord = ObservationresponseDocument.Factory.parse(is, new XmlOptions().setCharacterEncoding(charset));
 			or = ord.getObservationresponse();

Index: OldResponseXBeans.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/response/impl/OldResponseXBeans.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- OldResponseXBeans.java	23 Oct 2009 12:36:13 -0000	1.8
+++ OldResponseXBeans.java	23 Oct 2009 13:24:41 -0000	1.9
@@ -39,11 +39,13 @@
 	
 	private String observerID;
 	
-	public OldResponseXBeans(InputStream is, String charset) throws UnicornException {
+	public OldResponseXBeans(InputStream is, String charset, String observerID) throws UnicornException {
 		
 		if (charset == null)
 			charset = "UTF-8";
 		
+		this.observerID = observerID;
+		
 		try {
 			ord = ObservationresponseDocument.Factory.parse(is, new XmlOptions().setCharacterEncoding(charset));
 			or = ord.getObservationresponse();
Received on Friday, 23 October 2009 13:24:47 UTC

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