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

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 UTC