Author: midon
Date: Thu Nov 26 01:22:29 2009
New Revision: 884354
URL: http://svn.apache.org/viewvc?rev=884354&view=rev
Log:
skip if list is empty
Modified:
ode/branches/APACHE_ODE_1.X/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java
Modified:
ode/branches/APACHE_ODE_1.X/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java?rev=884354&r1=884353&r2=884354&view=diff
==============================================================================
---
ode/branches/APACHE_ODE_1.X/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java
(original)
+++
ode/branches/APACHE_ODE_1.X/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java
Thu Nov 26 01:22:29 2009
@@ -379,7 +379,7 @@
}
// Events filtered at the process level
- if (processEvents.getEnableEventList() != null) {
+ if (processEvents.getEnableEventList() != null &&
!processEvents.getEnableEventList().isEmpty()) {
List<String> enabled = processEvents.getEnableEventList();
HashSet<BpelEvent.TYPE> evtSet = new HashSet<BpelEvent.TYPE>();
for (String enEvt : enabled) {