diff --git a/applications/accounting/lib/README b/applications/accounting/lib/README index 389116c047..e7d6ce9d43 100644 --- a/applications/accounting/lib/README +++ b/applications/accounting/lib/README @@ -1,22 +1,3 @@ -##################################################################### -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -##################################################################### - To use the cybersource or worldpay or securepay libraries you can copy them to this directory. See the ofbiz/OPTIONAL_LIBRARIES file for more information. diff --git a/applications/content/widget/content/ContentForms.xml b/applications/content/widget/content/ContentForms.xml index 28ad660c4a..f81d49a560 100644 --- a/applications/content/widget/content/ContentForms.xml +++ b/applications/content/widget/content/ContentForms.xml @@ -232,7 +232,7 @@ under the License.
- + diff --git a/applications/manufacturing/src/main/java/org/apache/ofbiz/manufacturing/bom/BOMNode.java b/applications/manufacturing/src/main/java/org/apache/ofbiz/manufacturing/bom/BOMNode.java index 5427af967b..07de596bd7 100644 --- a/applications/manufacturing/src/main/java/org/apache/ofbiz/manufacturing/bom/BOMNode.java +++ b/applications/manufacturing/src/main/java/org/apache/ofbiz/manufacturing/bom/BOMNode.java @@ -292,7 +292,7 @@ public class BOMNode { variantProduct = variantProducts.get(0); } } catch (GenericServiceException e) { - Debug.logError("Error calling getProductVariant service " + e.getMessage(), module); + if (Debug.infoOn()) Debug.logInfo("Error calling getProductVariant service " + e.getMessage(), module); } if (variantProduct != null) { newNode = new BOMNode(variantProduct, dispatcher, userLogin); @@ -433,7 +433,7 @@ public class BOMNode { this.quantity = calcQuantity; } } catch (GenericServiceException e) { - Debug.logError(e, "Problem calling the " + serviceName + " service (called by the createManufacturingOrder service)", module); + } } else { this.quantity = quantity.multiply(quantityMultiplier).multiply(scrapFactor); @@ -573,7 +573,7 @@ public class BOMNode { } } } catch (GenericEntityException e) { - Debug.logError(e, "Problem calling the getManufacturingComponents service", module); + } } return UtilMisc.toMap("productionRunId", productionRunId, "endDate", endDate); diff --git a/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityListIterator.java b/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityListIterator.java index f90d536101..ddddf51239 100644 --- a/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityListIterator.java +++ b/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityListIterator.java @@ -44,7 +44,7 @@ import org.apache.ofbiz.entity.model.ModelFieldTypeReader; /** * Generic Entity Cursor List Iterator for Handling Cursored DB Results */ -public class EntityListIterator implements AutoCloseable, ListIterator { +public class EntityListIterator implements ListIterator { /** Module Name Used for debugging */ public static final String module = EntityListIterator.class.getName();