Author: jacopoc
Date: Sun Jul 12 09:44:59 2009
New Revision: 793307
URL:
http://svn.apache.org/viewvc?rev=793307&view=revLog:
Small cleanup.
Modified:
ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java
Modified: ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java?rev=793307&r1=793306&r2=793307&view=diff==============================================================================
--- ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java (original)
+++ ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java Sun Jul 12 09:44:59 2009
@@ -391,7 +391,7 @@
while (pb.hasNext()) {
// The components variable contains a list of BOMNodes:
// each node represents a product (component).
- BOMNode node = (org.ofbiz.manufacturing.bom.BOMNode) pb.next();
+ BOMNode node = (BOMNode) pb.next();
GenericValue productBom = node.getProductAssoc();
if ((productBom.getString("routingWorkEffortId") == null && first) || (productBom.getString("routingWorkEffortId") != null && productBom.getString("routingWorkEffortId").equals(routingTask.getString("workEffortId")))) {
serviceContext.clear();