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
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
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
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
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
Jacques Le Roux
cdbb16d292
Implemented: Accounting: Handle service response effectively
...
(OFBIZ-10021)
This uses return ServiceUtil.returnError() in case of ServiceUtil.isError()
jleroux: I applied the fix to GiftCertificateServices by hand
Thanks: Suraj Khurana
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817456 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 05:26:28 +00:00
Jacques Le Roux
68063335e7
Implemented: Create a new entity FacilityCalendar
...
(OFBIZ-10040)
Creates a new entity facilityCalendar which will create the one-to-many
relationship between facility and calendar. Here are the entity attributes:
*FacilityCalendar*
* facilityId*
* calendarId*
* facilityCalendarTypeId*
* fromDate*
* thruDate
*FacilityCalendarType*
* facilityCalendarTypeId*
* parentTypeId
* description
A calendar will be used to store opening time, closing time, working weekdays
and all this type of stuff.
For further information please refer
http://ofbiz.markmail.org/message/nectwaze6ina7y6z
Thanks: Vaibhav Jain for the initial proposition and all people who participated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817347 13f79535-47bb-0310-9956-ffa450edef68
2017-12-07 10:45:26 +00:00
Jacques Le Roux
7e7151ae71
Improved: [FB] Package org.apache.ofbiz.accounting.thirdparty.eway
...
(Additional Bugs)
(OFBIZ-9528)
Fixes minor Findbugs warnings
jleroux: I removed few trailing blanks and benefited from Writer being also
autocloseable
Thanks: Kyra Pritzel-Hentley for report, Julian Leichert for patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817345 13f79535-47bb-0310-9956-ffa450edef68
2017-12-07 10:40:39 +00:00
Rishi Solanki
e83ab9ee03
Improved: Move all data in applications to the datamodel component. Move the help data back to the origin component from where moved to datamodel as discussed on ticket.
...
(OFBIZ-9501)
Thanks to Taher and Jacques for finalizing the direction.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817151 13f79535-47bb-0310-9956-ffa450edef68
2017-12-05 04:14:38 +00:00
Rishi Solanki
90acab80c7
Improved: Move all data in applications to the datamodel component. Remove unused files.
...
(OFBIZ-9501)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817015 13f79535-47bb-0310-9956-ffa450edef68
2017-12-03 06:31:10 +00:00
Rishi Solanki
be307fbade
Improved: Move all data in applications to the datamodel component.
...
(OFBIZ-9501)
Move selected seed data for Product, Accounting and Manufacturing component. Thanks to Taher and Jacques for finalizing the data set.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816948 13f79535-47bb-0310-9956-ffa450edef68
2017-12-02 13:18:01 +00:00
Michael Brohl
3124eaf6c8
Improved: TrackingCodeEvents#checkTrackingCodeUrlParam returns "error"
...
if tracking code is not available.
(OFBIZ-10030)
The loglevel is set from error to info, a misleading comment is removed
and the method returns "success" in case of a tracking code which cannot
be found.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816937 13f79535-47bb-0310-9956-ffa450edef68
2017-12-02 09:37:54 +00:00