Author: nbelaevski
Date: 2009-08-27 18:30:29 -0400 (Thu, 27 Aug 2009)
New Revision: 15376
Modified:
root/examples/trunk/richfaces-demo/src/main/java/org/richfaces/demo/push/ChoicesBean.java
Log:
ChoicesBean: commented System.out statements
Modified:
root/examples/trunk/richfaces-demo/src/main/java/org/richfaces/demo/push/ChoicesBean.java
===================================================================
---
root/examples/trunk/richfaces-demo/src/main/java/org/richfaces/demo/push/ChoicesBean.java 2009-08-27
22:27:47 UTC (rev 15375)
+++
root/examples/trunk/richfaces-demo/src/main/java/org/richfaces/demo/push/ChoicesBean.java 2009-08-27
22:30:29 UTC (rev 15376)
@@ -4,10 +4,8 @@
import java.util.Date;
import java.util.EventListener;
import java.util.EventObject;
-import java.util.HashSet;
import java.util.List;
import java.util.Random;
-import java.util.Set;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
@@ -96,7 +94,7 @@
for (Choice choice : lastVotes) {
choice.setVotesCount(rand(0, 3));
}
- System.out.println("New Event!");
+ //System.out.println("New Event!");
listener.onEvent(new EventObject(this));
Thread.sleep(5000);
} catch (InterruptedException e) {
@@ -117,7 +115,7 @@
updateInfo+=choice.getVotesCount()+" ";
}
updateInfo+="] ";
- System.out.println("ChoicesBean.processUpdates()");
+ //System.out.println("ChoicesBean.processUpdates()");
}
public Thread getThread() {
@@ -125,8 +123,8 @@
}
public boolean isEnabled() {
- System.out.println("ChoicesBean.isEnabled()");
- System.out.println(enabled);
+ //System.out.println("ChoicesBean.isEnabled()");
+ //System.out.println(enabled);
return enabled;
}