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

2006/unicorn/src/org/w3c/unicorn/response Response.java,1.5,1.6

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 18 Sep 2009 15:44:14 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mofd8-0002ht-M6@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/response
In directory hutz:/tmp/cvs-serv10359/src/org/w3c/unicorn/response

Modified Files:
	Response.java 
Log Message:
fixed unset rating were considered = 0

Index: Response.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/response/Response.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Response.java	18 Sep 2009 15:19:44 -0000	1.5
+++ Response.java	18 Sep 2009 15:44:12 -0000	1.6
@@ -22,7 +22,7 @@
 	
 	protected String requestUri;
 	
-	protected int rating;
+	protected Integer rating;
 
 	/**
 	 * Result aResult =
@@ -291,11 +291,11 @@
 		this.requestUri = requestUri;
 	}
 
-	public int getRating() {
+	public Integer getRating() {
 		return rating;
 	}
 
-	public void setRating(int rating) {
+	public void setRating(Integer rating) {
 		this.rating = rating;
 	}
 	
Received on Friday, 18 September 2009 15:44:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT