improve the groupbuying function by properly return sales numbers when cancelling an order.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1368822 13f79535-47bb-0310-9956-ffa450edef68
fix the grouporder tests

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1368889 13f79535-47bb-0310-9956-ffa450edef68
JobManager.java and JobPoller.java code formatting - no functional change.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369291 13f79535-47bb-0310-9956-ffa450edef68
A bunch of fixes for JobManager and JobPoller:

1. Fixed some concurrency issues during object construction.
2. Cleaned up some feature-envy code.
3. Added code for orderly startup and shutdown.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369298 13f79535-47bb-0310-9956-ffa450edef68
as suggested by Adrian, replacing @see by @Override in commit 1367751

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369357 13f79535-47bb-0310-9956-ffa450edef68
Fixing the javadoc for ScrumServices.java

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369358 13f79535-47bb-0310-9956-ffa450edef68
correcting an error with my search and replace at rev 1369357

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369360 13f79535-47bb-0310-9956-ffa450edef68
Fixing the javadoc for CategoryWorker.java

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369399 13f79535-47bb-0310-9956-ffa450edef68
Fixing the javadoc for ServiceDispatcher.java

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369401 13f79535-47bb-0310-9956-ffa450edef68
Missed this one at rev 1369357

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369404 13f79535-47bb-0310-9956-ffa450edef68
correcting javadoc for DynamicViewEntity.java

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369406 13f79535-47bb-0310-9956-ffa450edef68
Fix javadoc for PersistedServiceJob.java

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369409 13f79535-47bb-0310-9956-ffa450edef68
using for each in testtools

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369430 13f79535-47bb-0310-9956-ffa450edef68
Removing non-existing nodes in simple-method

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369434 13f79535-47bb-0310-9956-ffa450edef68
Refactored Job implementations so they implement a state machine. This approach makes the code much simpler.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369467 13f79535-47bb-0310-9956-ffa450edef68
Removed unnecessary Date object creation from GenericAsyncEngine.java.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369469 13f79535-47bb-0310-9956-ffa450edef68
Fixed a bug in GenericServiceJob where the failed method would get called twice.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369485 13f79535-47bb-0310-9956-ffa450edef68
Fixed a costly call to UtilValidate.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369486 13f79535-47bb-0310-9956-ffa450edef68
Some JavaDocs to help explain the Job behavior.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369491 13f79535-47bb-0310-9956-ffa450edef68
Updated Workflow component to compile with Job Scheduler changes.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369503 13f79535-47bb-0310-9956-ffa450edef68