Author: lfryc(a)redhat.com
Date: 2010-07-10 15:37:46 -0400 (Sat, 10 Jul 2010)
New Revision: 17858
Modified:
root/tests/metamer/trunk/src/main/java/org/richfaces/testapp/bean/A4JPushEventProcuder.java
Log:
a4j:poll test case event producer was using EL 2.2 expression (method call) - removed
(forgotten commit of bean)
Modified:
root/tests/metamer/trunk/src/main/java/org/richfaces/testapp/bean/A4JPushEventProcuder.java
===================================================================
---
root/tests/metamer/trunk/src/main/java/org/richfaces/testapp/bean/A4JPushEventProcuder.java 2010-07-10
19:37:18 UTC (rev 17857)
+++
root/tests/metamer/trunk/src/main/java/org/richfaces/testapp/bean/A4JPushEventProcuder.java 2010-07-10
19:37:46 UTC (rev 17858)
@@ -61,17 +61,14 @@
}
}
- public void produceEvent(Boolean enabled) {
- logger.info("enabled: " + enabled);
- if (enabled) {
- Collection<PushEventListener> listeners;
- synchronized (registeredListeners) {
- listeners = new
LinkedList<PushEventListener>(registeredListeners);
- }
- for (PushEventListener listener : listeners) {
- listener.onEvent(new EventObject(A4JPushBean.class));
- }
- logger.info("push event (listeners: " + listeners.size() +
")");
+ public void produceEvent() {
+ Collection<PushEventListener> listeners;
+ synchronized (registeredListeners) {
+ listeners = new LinkedList<PushEventListener>(registeredListeners);
}
+ for (PushEventListener listener : listeners) {
+ listener.onEvent(new EventObject(A4JPushBean.class));
+ }
+ logger.info("push event (listeners: " + listeners.size() +
")");
}
}