From: Jakub Skoczen Date: Thu, 15 Apr 2010 10:17:43 +0000 (+0200) Subject: Rename getSize => getHitCount X-Git-Tag: v1.2~3 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=06909ae14ede94b3b40dd64fbbc3aec3c6727796;p=yaz4j-moved-to-github.git Rename getSize => getHitCount The old name is confusing and may be understood as the size of local result set. --- diff --git a/examples/zgate/src/main/java/com/indexdata/zgate/ZgateServlet.java b/examples/zgate/src/main/java/com/indexdata/zgate/ZgateServlet.java index 13b1a07..d7f2130 100644 --- a/examples/zgate/src/main/java/com/indexdata/zgate/ZgateServlet.java +++ b/examples/zgate/src/main/java/com/indexdata/zgate/ZgateServlet.java @@ -66,10 +66,11 @@ public class ZgateServlet extends HttpServlet { try { con.connect(); ResultSet set = con.search(query, Connection.QueryType.PrefixQuery); - response.getWriter().println("Showing " + maxrecs + " of " +set.getSize()); + response.getWriter().println("Showing " + maxrecs + " of " +set.getHitCount()); response.getWriter().println(); - for(int i=0; i