/[projects]/android/MarketStats/src/dk/thoerup/marketstats/ShowStats.java
ViewVC logotype

Diff of /android/MarketStats/src/dk/thoerup/marketstats/ShowStats.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1013 by torben, Mon Jul 5 13:53:37 2010 UTC revision 1014 by torben, Thu Aug 12 09:25:52 2010 UTC
# Line 91  public class ShowStats extends HttpServl Line 91  public class ShowStats extends HttpServl
91                  session.append(appsRequest, appsCb);                  session.append(appsRequest, appsCb);
92                  session.flush();                  session.flush();
93                                    
94                  return appsCb.getResult();                  return appsCb.getResult().get(0);
95          }                }      
96                    
97          CommentsRequest buildCommentRequest(String appId, int start, int count) {          CommentsRequest buildCommentRequest(String appId, int start, int count) {
# Line 155  public class ShowStats extends HttpServl Line 155  public class ShowStats extends HttpServl
155          }          }
156    
157          protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {          protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
158                  String query = request.getParameter("query");                  String query = "pname:" + request.getParameter("app");
159                                    
160                  AppBean app = lookupApp(query);                  AppBean app = lookupApp(query);
161                  if (app != null) {                  if (app != null) {

Legend:
Removed from v.1013  
changed lines
  Added in v.1014

  ViewVC Help
Powered by ViewVC 1.1.20