Author: jacopoc
Date: Sat Mar 3 09:18:40 2007
New Revision: 514196
URL:
http://svn.apache.org/viewvc?view=rev&rev=514196Log:
Applied patch from Stefan Huehner (OFBIZ-515) to fix string comparison.
Modified:
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceMultiEventHandler.java
Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceMultiEventHandler.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceMultiEventHandler.java?view=diff&rev=514196&r1=514195&r2=514196==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceMultiEventHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/ServiceMultiEventHandler.java Sat Mar 3 09:18:40 2007
@@ -97,7 +97,7 @@
}
// we only support SYNC mode in this handler
- if (mode != SYNC) {
+ if (!SYNC.equals(mode)) {
throw new EventHandlerException("Async mode is not supported");
}