W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2008

2006/unicorn/org/w3c/unicorn/input DirectInputModule.java,1.3,1.4 FakeUploadInputModule.java,1.3,1.4 FileItemInputModule.java,1.3,1.4 InputFactory.java,1.3,1.4 URIInputModule.java,1.4,1.5

From: Jean-Guilhem Rouel via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 25 Sep 2008 17:37:46 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Kiumg-000483-6s@lionel-hutz.w3.org>

Update of /sources/public/2006/unicorn/org/w3c/unicorn/input
In directory hutz:/tmp/cvs-serv15770/org/w3c/unicorn/input

Modified Files:
	DirectInputModule.java FakeUploadInputModule.java 
	FileItemInputModule.java InputFactory.java URIInputModule.java 
Log Message:
simplified logs a bit.

Index: FakeUploadInputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/input/FakeUploadInputModule.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- FakeUploadInputModule.java	17 Jun 2008 14:09:50 -0000	1.3
+++ FakeUploadInputModule.java	25 Sep 2008 17:37:43 -0000	1.4
@@ -112,11 +112,9 @@
 	public String toString() {
 		final int iStringBufferSize = 500;
 		final StringBuffer aStringBuffer = new StringBuffer(iStringBufferSize);
-		aStringBuffer.append("FakeUploadInputModule");
-		aStringBuffer.append("\n");
-		aStringBuffer.append("Mime type : ").append(this.aMimeType);
-		aStringBuffer.append("\n");
-		aStringBuffer.append("File name : ").append(this.sFileName);
+		aStringBuffer.append("FakeUploadInputModule{mimetype: ").append(this.aMimeType);
+		aStringBuffer.append(", filename: ").append(this.sFileName).append("}");
+
 		return aStringBuffer.toString();
 	}
 

Index: FileItemInputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/input/FileItemInputModule.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- FileItemInputModule.java	17 Jun 2008 14:09:50 -0000	1.3
+++ FileItemInputModule.java	25 Sep 2008 17:37:44 -0000	1.4
@@ -105,11 +105,9 @@
 	public String toString() {
 		final int iStringBufferSize = 500;
 		final StringBuffer aStringBuffer = new StringBuffer(iStringBufferSize);
-		aStringBuffer.append("FileItemInputModule");
-		aStringBuffer.append("\n");
-		aStringBuffer.append("Mime type : ").append(this.aMimeType);
-		aStringBuffer.append("\n");
-		aStringBuffer.append("File name : ").append(this.aFileItem.getName());
+		aStringBuffer.append("FileItemInputModule{mimetype: ").append(this.aMimeType);
+		aStringBuffer.append(", filename: ").append(this.aFileItem.getName()).append("}");
+
 		return aStringBuffer.toString();
 	}
 

Index: DirectInputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/input/DirectInputModule.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- DirectInputModule.java	17 Jun 2008 14:09:50 -0000	1.3
+++ DirectInputModule.java	25 Sep 2008 17:37:43 -0000	1.4
@@ -107,9 +107,8 @@
 	public String toString() {
 		final int iStringBufferSize = 500;
 		final StringBuffer aStringBuffer = new StringBuffer(iStringBufferSize);
-		aStringBuffer.append("DirectInputModule");
-		aStringBuffer.append("\n");
-		aStringBuffer.append("Mime type : ").append(this.aMimeType);
+		aStringBuffer.append("DirectInputModule{mimetype: ").append(this.aMimeType).append("}");
+
 		return aStringBuffer.toString();
 	}
 

Index: InputFactory.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/input/InputFactory.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- InputFactory.java	17 Jun 2008 14:09:50 -0000	1.3
+++ InputFactory.java	25 Sep 2008 17:37:44 -0000	1.4
@@ -172,12 +172,13 @@
 	public String toString() {
 		final int iStringBufferSize = 500;
 		final StringBuffer aStringBuffer = new StringBuffer(iStringBufferSize);
-		aStringBuffer.append("InputFactory").append("\n");
-		aStringBuffer.append("Default : ").append(
-				this.aInputModuleDefault.getEnumInputMethod()).append("\n");
+		aStringBuffer.append("InputFactory{default: ").append(
+				this.aInputModuleDefault.getEnumInputMethod()).append(", ");
 		for (final InputModule aInputModule : this.mapOfInputModule.values()) {
-			aStringBuffer.append(aInputModule).append("\n");
+			aStringBuffer.append(aInputModule).append(", ");
 		}
+    aStringBuffer.append("}");
+
 		return aStringBuffer.toString();
 	}
 

Index: URIInputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/input/URIInputModule.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- URIInputModule.java	17 Jun 2008 14:09:50 -0000	1.4
+++ URIInputModule.java	25 Sep 2008 17:37:44 -0000	1.5
@@ -144,11 +144,11 @@
 	public String toString() {
 		final int iStringBufferSize = 500;
 		final StringBuffer aStringBuffer = new StringBuffer(iStringBufferSize);
-		aStringBuffer.append("URIInputModule");
-		aStringBuffer.append("\n");
-		aStringBuffer.append("Mime type : ").append(this.aMimeType);
-		aStringBuffer.append("\n");
-		aStringBuffer.append("URI : ").append(this.sURI);
+		aStringBuffer.append("URIInputModule{");
+		aStringBuffer.append("mimetype: ").append(this.aMimeType);
+		aStringBuffer.append(", uri: ").append(this.sURI);
+    aStringBuffer.append("}").append(this.sURI);
+    
 		return aStringBuffer.toString();
 	}
 
Received on Thursday, 25 September 2008 17:38:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:30 UTC