I checked back through the revision history and it was originally used to decide whether shipping adjustments had been already been charged. That determination was refactored quite a while ago and this portion was left behind. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835707 13f79535-47bb-0310-9956-ffa450edef68