Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 74852fd95b No functional change, just trivial formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817914 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 13:32:23 +00:00
Jacques Le Roux 1ca386c743 No functional change, just trivial formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817895 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 09:17:16 +00:00
Michael Brohl bae1848cd8 Improved: General refactoring and code improvements, package
org.apache.ofbiz.base.component.
(OFBIZ-9872)

Thanks Dennis Balkir for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817883 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 06:26:29 +00:00
Michael Brohl 3c8804772d Reverted: General refactoring and code improvements, package
org.apache.ofbiz.base.component.
(OFBIZ-9872)

The patches were modified to remove Debug.is[Loglevel]On()
conditions. It is better to keep them for better runtime performance.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817882 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 06:24:37 +00:00
Michael Brohl 8100a6569e Improved: General refactoring and code improvements, package
org.apache.ofbiz.accounting.invoice.
(OFBIZ-9870)

Thanks Dennis Balkir for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817881 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 06:18:38 +00:00
Michael Brohl b51d120d22 Reverted: General refactoring and code improvements, package
org.apache.ofbiz.accounting.invoice.
(OFBIZ-9870)

The patches were modified to remove Debug.is[Loglevel]On()
conditions. It is better to keep them for better runtime performance.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817880 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 06:03:56 +00:00
Jacques Le Roux c872ac1813 No functional change, damned hard day reviewing, these formattings I wanted to
keep 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817803 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 18:06:40 +00:00
Jacques Le Roux eb39aa5420 Removes some formatting which were also automated (w/o my consent, I must have
missed it at some point :/)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817799 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 17:35:42 +00:00
Jacques Le Roux a608c7ded1 No functional change, redo some formatting by hand to make code more legible
They obviously have been done with automated formatting (big formatted block).
Someone should check it's formatting width notably for comments and maybe JavaDoc

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817798 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 17:33:27 +00:00
Jacques Le Roux 1d7bd045fd No functional change, formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817790 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 15:53:35 +00:00
Nicolas Malin f70438c1c7 Fixed: Add missing default-entity-name on create and delete definition service for CarrierShipmentMethod entity introduce at r1787822
Related to Convert ShipmentMethodType entity CRUD service to entity-auto (OFBIZ-8664)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817752 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 08:23:25 +00:00
Michael Brohl bf6310c5e4 Improved: General refactoring and code improvements, package
org.apache.ofbiz.common.authentication.
(OFBIZ-9875)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817751 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 08:10:16 +00:00
Michael Brohl 4f48862e29 Improved: General refactoring and code improvements, package
org.apache.ofbiz.base.component.
(OFBIZ-9872)

The patches were modified to remove unnecessary Debug.is[Loglevel]On()
conditions, see OFBIZ-10049.

Thanks Dennis Balkir for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817750 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 07:54:13 +00:00
Michael Brohl 76622f323e Improved: General refactoring and code improvements, package
org.apache.ofbiz.catalina.container.
(OFBIZ-9871)

Thanks Dennis Balkir for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817749 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 07:49:49 +00:00
Michael Brohl 2a40c4378d Improved: General refactoring and code improvements, package
org.apache.ofbiz.accounting.invoice.
(OFBIZ-9870)

The patches were modified to remove unnecessary Debug.is[Loglevel]On()
conditions, see OFBIZ-10049.

Thanks Dennis Balkir for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817748 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 07:42:33 +00:00
Jacques Le Roux 4842997323 Improved: Inconsistent styling in Tomahawk theme
(OFBIZ-9906)

Improves the misleading background color on tomahawk themed screens. 
I am providing the patch for correcting styling in Tomahawk theme for order 
history and compDocs tree screen.

Thanks: Ayushi Rathod

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817747 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 07:34:25 +00:00
Michael Brohl 6cca1c0dfc Improved: General refactoring and code improvements, package
org.apache.ofbiz.service.
(OFBIZ-9869)

The patch was modified to remove unnecessary Debug.is[Loglevel]On()
conditions, see OFBIZ-10049.

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817746 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 07:18:37 +00:00
Michael Brohl 1ff18fc898 Improved: General refactoring and code improvements, package
org.apache.ofbiz.securityext.login.
(OFBIZ-9868)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817745 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 06:43:03 +00:00
Michael Brohl ca83629678 Improved: General refactoring and code improvements, package
org.apache.ofbiz.base.container.
(OFBIZ-9861)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817744 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 06:41:08 +00:00
Michael Brohl 7cc0b229a6 Improved: General refactoring and code improvements, package
org.apache.ofbiz.base.util.collections.
(OFBIZ-9860)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817743 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 06:34:02 +00:00
Michael Brohl bf4bfeaf17 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.content.
(OFBIZ-9858)

The patch was modified. The changes in ContentWorker#checkConditions 
would have changed the logic and have to be reworked.

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817742 13f79535-47bb-0310-9956-ffa450edef68
2017-12-11 06:07:50 +00:00
Jacques Le Roux 30b82ab57e No functional changes.
Refactors (several things), formats and fixes (HOME_DUCUMENT seemed not good) 
the convertTree() method.

This is not used OOTB, so not quite sure how to test it, not documented enough.
I only found that in the initial Hans's commit: "Add a content navigation tree, 
demo data and including a DOS tree conversion program to be able to mimic an 
office file server"

 
    

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817726 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 20:10:11 +00:00
Michael Brohl 2c4f53f969 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.content.
(OFBIZ-9858)

The patch was modified. Instead of removing variables which were only 
intialized with null but used in method calls, I've added some TODO
tags to check them.

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817722 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 17:51:09 +00:00
Jacques Le Roux 22a85d9732 No functional changes, fixes a typo I put in with r1817709
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817710 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 12:47:59 +00:00
Jacques Le Roux d4b251f6e3 No functional changes, FileNotFoundException is included in IOException so no
need to have both doing the same thing

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817709 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 12:32:51 +00:00
Jacques Le Roux bc843c4b5a No functional changes, removes a bunch of useless fileOut.close() inside
try-with-resources blocks. FileOutputStream implements the Closeable interface,
 which extends AutoCloseable

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817708 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 12:31:35 +00:00
Jacques Le Roux 851ea86680 No functional change, removes useless imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817707 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 12:15:45 +00:00
Jacques Le Roux 55e770d437 No functional change, fixes formatting, I wonder if we should keep this code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817705 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 12:06:06 +00:00
Jacques Le Roux a24ff2818c Fixes formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817704 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 12:05:08 +00:00
Jacques Le Roux 48a2f6dc8b Fixed: Fix Default or Empty Catch block in Java and Groovy files
(OFBIZ-8341)

While reviewing recent Michael's FB commits I spotted a bunch of (unrelated) 
swallowed exceptions. This fixes them

Also few formatting and use of multi catches



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817703 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 12:00:07 +00:00
Jacques Le Roux 9e74309d5d Forgot to commit changes in LICENSE file when doing r1817478 and r1817489
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817702 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 11:47:13 +00:00
Jacques Le Roux 557a6194d5 No functional changes, removes useless code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817701 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 11:44:28 +00:00
Jacques Le Roux b2810ccd5f No functional changes, simply formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817700 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 11:41:59 +00:00
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