Commit Graph
24904 Commits
Author SHA1 Message Date
Michael Brohl f1eb4c8a8a Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.content.compdoc.
(OFBIZ-9825)

The patch was modified to optimize the code a bit more.

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817697 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 11:14:35 +00:00
Michael Brohl 4eadb514de Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.content.cms.
(OFBIZ-9824)

The patch was modified to optimize the logging.

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817694 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 11:08:58 +00:00
Deepak Dixit bbd6590816 Fixed: Used entityName instead of null while using FormFactory.readFormDocument method, as this parameter is used to prepare formLocationCache, and its causing issue to view different entity from webtools. Now form will be cached based on enittyName#formName so it will working fine for all possible scenaraio
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817693 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 11:07:07 +00:00
Michael Brohl eabb4d7710 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.marketing.tracking.
(OFBIZ-9823)

The patch was modified because the repeated conditional check in 
TrackingCodeEvents was simplified too much.

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817692 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 11:01:12 +00:00
Michael Brohl f2f4b3720a Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.shipment.weightPackage.
(OFBIZ-9822)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817691 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 10:52:37 +00:00
Michael Brohl 9e505a8877 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.shipment.verify.
(OFBIZ-9821)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817689 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 10:50:08 +00:00
Michael Brohl b9fa90059e Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.shipment.thirdparty.usps.
(OFBIZ-9820)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817688 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 10:48:39 +00:00
Michael Brohl 8553a39a4c Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.shipment.thirdparty.ups.
(OFBIZ-9819)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817687 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 10:45:36 +00:00
Michael Brohl 49bdacf80a Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.content.survey.
(OFBIZ-9816)

I've modified the patch and added some logging in PdfSurveyServices.java
instead of just printing the stacktrace. This class needs more work to
change the logging (see OFBIZ-10046).

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817686 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 10:29:32 +00:00
Michael Brohl 14154a293e Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.content.webapp.ftl.
(OFBIZ-9815)

Instead of just setting the locale to null I've added functionality to
retrieve the locale from the context map and set a default if there is
no locale provided.

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817684 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 10:10:52 +00:00
Michael Brohl 7d4d36a363 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.content.output.
(OFBIZ-9814)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817681 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 09:41:02 +00:00
Michael Brohl 87d9bbe590 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.content.layout.
(OFBIZ-9812)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817680 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 09:35:12 +00:00
Michael Brohl 7fab195048 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.content.data.
(OFBIZ-9811)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817679 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 09:33:46 +00:00
Michael Brohl e6eca69ba6 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.shipment.thirdparty.dhl.
(OFBIZ-9810)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817678 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 09:22:19 +00:00
Michael Brohl c68323ccf4 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.test.
(OFBIZ-9809)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817677 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 09:08:34 +00:00
Michael Brohl 4859a027a9 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.shipment.packing.
(OFBIZ-9808)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817651 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 18:09:58 +00:00
Michael Brohl b1910d8bf3 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.product.
(OFBIZ-9807)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817650 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 18:08:26 +00:00
Michael Brohl d93cb58831 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.shipment.thirdparty.fedex.
(OFBIZ-9799)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817649 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 18:04:46 +00:00
Michael Brohl 01d57bf145 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.shipment.shipment.
(OFBIZ-9788)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817647 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 18:02:46 +00:00
Michael Brohl dc9614d5de Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.supplier.
(OFBIZ-9787)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817646 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 18:00:31 +00:00
Michael Brohl 9dd728024b Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.subscription.
(OFBIZ-9786)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817645 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 17:58:59 +00:00
Michael Brohl fdc734fa02 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.promo.
(OFBIZ-9785)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817644 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 17:57:20 +00:00
Michael Brohl e2a04c73d5 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.spreadsheetimport.
(OFBIZ-9784)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817643 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 17:55:14 +00:00
Michael Brohl 28e7ed9937 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.order.shoppingcart.
(OFBIZ-9783)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817641 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 17:52:33 +00:00
Michael Brohl c06f835668 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.entity.jdbc.
(OFBIZ-9782)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817637 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 17:34:02 +00:00
Michael Brohl bc5c1c256e Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.order.shoppingcart.product.
(OFBIZ-9781)

Additionally removed the private method findAdjustment which was not
used anywhere in the code.

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817636 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 17:29:12 +00:00
Michael Brohl 52c214cdb0 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.price.
(OFBIZ-9779)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817634 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 17:13:15 +00:00
Michael Brohl a61a3b6fef Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.inventory.
(OFBIZ-9778)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817633 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 17:11:03 +00:00
Michael Brohl 48dddd05fc Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.imagemanagement.
(OFBIZ-9777)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817632 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 16:56:43 +00:00
Michael Brohl 2185fe8b49 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.image.
(OFBIZ-9776)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817623 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 15:09:57 +00:00
Michael Brohl 9f37fdf613 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.feature.
(OFBIZ-9775)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817619 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 15:01:30 +00:00
Michael Brohl b473460e66 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.config.
(OFBIZ-9774)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817618 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 14:57:58 +00:00
Michael Brohl 63b90d6a95 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.category.ftl.
(OFBIZ-9773)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817617 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 14:54:13 +00:00
Michael Brohl 7a36f90503 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.category.
(OFBIZ-9772)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817616 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 14:51:18 +00:00
Michael Brohl eb3759657f Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.party.party.
(OFBIZ-9736)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817585 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 22:26:26 +00:00
Michael Brohl ecb806badf Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.party.contact.
(OFBIZ-9735)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817584 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 22:19:44 +00:00
Michael Brohl 92d78f88ba Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.party.communication.
(OFBIZ-9734)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817583 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 22:11:11 +00:00
Michael Brohl 63648b4067 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.order.thirdparty.paypal.
(OFBIZ-9733)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817581 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 22:01:44 +00:00
Michael Brohl ab3eb8415c Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.order.test.
(OFBIZ-9732)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817578 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:51:16 +00:00
Michael Brohl d1df1431bd Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.order.shoppinglist.
(OFBIZ-9731)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817576 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:34:14 +00:00
Jacques Le Roux 0ab019569e No functional change, fixes a typo in comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817574 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:28:12 +00:00
Michael Brohl d763c7071e Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.order.finaccount.
(OFBIZ-9730)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817573 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:24:28 +00:00
Michael Brohl 2e2ff09e52 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.order.
(OFBIZ-9729)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817572 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:21:55 +00:00
Michael Brohl 49c1a38107 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.widget.
(OFBIZ-9724)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817571 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:19:32 +00:00
Michael Brohl 6ff220a8ec Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.entity.datasource.
(OFBIZ-9723)

Did some additional cleanup by removing commented out code.

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817570 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:13:26 +00:00
Michael Brohl a5947f39ed Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.base.util.test.
(OFBIZ-9722)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817568 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:05:00 +00:00
Michael Brohl 1f2d67a35f Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.entityext.data.
(OFBIZ-9721)

The changes for EntityDataLoadContainer had to be applied manually 
because of changes made in between.

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817566 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:02:21 +00:00
Michael Brohl f56feb90fa Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.entity.util.
(OFBIZ-9720)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817562 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 20:49:28 +00:00
Michael Brohl 4af8b2491d Improved: removed unnecessary condition check.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817561 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 20:48:14 +00:00
Michael Brohl a72f027892 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.entity.model.
(OFBIZ-9719)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817559 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 20:18:41 +00:00