/[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 948 by torben, Thu May 27 11:30:16 2010 UTC revision 949 by torben, Mon Jul 5 06:17:05 2010 UTC
# Line 25  import com.gc.android.market.api.model.M Line 25  import com.gc.android.market.api.model.M
25  public class ShowStats extends HttpServlet {  public class ShowStats extends HttpServlet {
26          private static final long serialVersionUID = 1L;          private static final long serialVersionUID = 1L;
27    
28          final int TIMEOUT = 30*60;          static final int MAXCOMMENTS = 50;
29            static final int TIMEOUT = 30*60;
30            
31          static final Logger log = Logger.getLogger(ShowStats.class.getName());          static final Logger log = Logger.getLogger(ShowStats.class.getName());
32    
33          String login;          String login;
# Line 97  public class ShowStats extends HttpServl Line 99  public class ShowStats extends HttpServl
99                          session.flush();                          session.flush();
100                          start +=10;                          start +=10;
101                                                    
102                          if (start >= 200)                          if (start >= MAXCOMMENTS)
103                                  break; //emergency brake                                  break; //emergency brake
104                                                    
105                  } while ( start < commentsCb.getEntryCount() );                  } while ( start < commentsCb.getEntryCount() );

Legend:
Removed from v.948  
changed lines
  Added in v.949

  ViewVC Help
Powered by ViewVC 1.1.20