Commit Graph
27737 Commits
Author SHA1 Message Date
Swapnil Mane dad9391fd0 Fixed: Parameters are not available to the next response type when form of enctype=multipart/form-data type is submitted
(OFBIZ-10833)

Reason: The UtilHttp.getMultiPartParameterMap method is used to get the parameters in case of multipart/form-data type.
The getMultiPartParameterMap parse the request to get the parameters.

{code}
uploadedItems = UtilGenerics.<FileItem>checkList(upload.parseRequest(request));
{code}

As per the Apache commons-fileupload guideline, a request can only be parsed once [1]. So, for the next response, again the same getMultiPartParameterMap method is executed (with the same request object), and no parameters are found, since, the request is already parsed.

Also, have a look at the StackOverflow question [2], it also contains related information.

Fix for the issue:
Set the consumed parameters (except uploaded file(s)) in the request attribute so that it will be available to the next response.
The uploaded file(s) are not set in request attribute again to avoid unnecessary memory consumption, also it makes no sense to traverse the uploaded file in the request.

[1] http://commons.apache.org/proper/commons-fileupload/faq.html#empty-parse

[2] https://stackoverflow.com/questions/13881272/servletfileuploadparserequestrequest-returns-an-empty-list

Thanks: Ingo Wolfmayr for reporting issue and Jacques Le Roux for review.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858035 13f79535-47bb-0310-9956-ffa450edef68
2019-04-24 09:57:08 +00:00
Gil Portenseigne 9cec8c6443 Fixed: User depersonation do not clean out impersonated user session.
(OFBIZ-10942)

Thank you Leila Mekika for reporting and providing the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857991 13f79535-47bb-0310-9956-ffa450edef68
2019-04-23 07:31:10 +00:00
Mathieu Lirzin 26a2a5fa43 Improved: Use ‘contains’ matcher when possible
(OFBIZ-10941)

It is more precise to use the ‘contains’ matcher when checking the
values, completeness and order of a collection.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857960 13f79535-47bb-0310-9956-ffa450edef68
2019-04-22 13:47:36 +00:00
Mathieu Lirzin 47ea42c001 Improved: Use ‘containsInAnyOrder’ matcher when possible
(OFBIZ-10941)

It is more precise to use ‘containsInAnyOrder’ matcher than checking
the presence of items and the size of the collections separately.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857959 13f79535-47bb-0310-9956-ffa450edef68
2019-04-22 13:45:42 +00:00
Mathieu Lirzin 2b541d715d Improved: Check Map equality in ‘MultivaluedMapContextTests’
The equality between two maps is defined by the presence of the same
set of entries in both maps, so checking equality of the maps is
equivalent to checking directly their entries.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857958 13f79535-47bb-0310-9956-ffa450edef68
2019-04-22 13:43:04 +00:00
Mathieu Lirzin 5982be8161 Improved: Remove unnecessary declared exceptions for ‘ContainerException’
(OFBIZ-10938)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857913 13f79535-47bb-0310-9956-ffa450edef68
2019-04-21 14:22:36 +00:00
Mathieu Lirzin 3b6782981f Fixed: Remove unnecessary declared exceptions in ‘RequestHandlerTests’
(OFBIZ-10938)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857912 13f79535-47bb-0310-9956-ffa450edef68
2019-04-21 13:58:46 +00:00
Mathieu Lirzin 990c8a3aab Improved: Remove redundant specification of type arguments
(OFBIZ-10937)

Since Java 1.7, when defining generic types it is unnecessary to
redefine those types in the constructor when it is done in the
declared type.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857906 13f79535-47bb-0310-9956-ffa450edef68
2019-04-21 12:49:52 +00:00
Mathieu Lirzin e34434000b Fixed: Remove unnecessary semicolons in Java code (OFBIZ-10936)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857904 13f79535-47bb-0310-9956-ffa450edef68
2019-04-21 10:55:18 +00:00
Mathieu Lirzin 9f5802e49a Improved: Do not use deprecated method in ‘DBCPConnectionFactory’
(OFBIZ-10935)

Use ‘PoolableConnectionFactory#setAutoCommitOnReturn’ instead of
‘PoolableConnectionFactory#setEnableAutoCommitOnReturn’ from
‘org.apache.commons.dbcp2’ package.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857898 13f79535-47bb-0310-9956-ffa450edef68
2019-04-21 10:14:45 +00:00
Mathieu Lirzin acff8da727 Fixed: Remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857897 13f79535-47bb-0310-9956-ffa450edef68
2019-04-21 10:10:51 +00:00
Mathieu Lirzin d5e3c2d3d4 Improved: Remove redundant null checks (OFBIZ-10911)
Redundant null checks detected by Eclipse has been removed.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857896 13f79535-47bb-0310-9956-ffa450edef68
2019-04-21 09:37:49 +00:00
Mathieu Lirzin d7127ce9ea Fixed: Ensure that ‘MapContext’ preserves insertion order properties
(OFBIZ-10933)

This fixes a regression introduced in revision 1837462.

When pushing a ‘LinkedHashMap’ inside a ‘MapContext’, the iteration
order of the ‘MapContext’ values was not corresponding to the
insertion order of the embedded ‘LinkedHashMap’ which is important in
the ‘ControllerConfig’ case where configuration elements are stored in
‘LinkedHashMap’ objects and the ‘include’ mechanism relies on
‘MapContext’.

To avoid such regression in the future, a test reproducing the bug has
been added.

Thanks: Gil Portenseigne for investigating.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857818 13f79535-47bb-0310-9956-ffa450edef68
2019-04-19 15:02:25 +00:00
Mathieu Lirzin 60a6ac1047 Improved: Add ‘UtilMisc#toMap(Supplier<Map<K, V>>, Object...)’
(OFBIZ-10933)

It is convenient to use ‘UtilMisc#toMap’ to create pseudo-literal
maps. Previously it was not possible to specify the concrete class of
the constructed map.  The ‘UtilMisc#toMap(Supplier<Map<K, V>>,
Object...)’ overload now provides a convenient way to instantiate
specific map types like ‘LinkedHashMap’ objects.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857817 13f79535-47bb-0310-9956-ffa450edef68
2019-04-19 14:57:54 +00:00
Swapnil Mane 9c3a3a4fcf Fixed: If the picklist cancelation process failed, the picklist item shouldn't be marked as cancel
(OFBIZ-4690)

When a transaction is running in which Picklist entity is updated (i.e. canceled), now if the transaction is rollback the picklist status will not be changed but as per previous code, the picklist item's status will get updated i.e. marked as cancel because we called the cancelPicklistAndItems service in async mode

So the situation here was the Picklist is not canceled, but the Picklist items were marked as cancel.

Thus to fix it, call the cancelPicklistAndItems service in sync mode.

Thanks:  Jacques Le Roux for your thoughts.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857813 13f79535-47bb-0310-9956-ffa450edef68
2019-04-19 14:05:59 +00:00
Paul Foxworthy ed9877d557 Fixed: Updating an OrderItem loses supplierProductId
(OFBIZ-10932)

When you edit on order item, the details are reloaded into a shopping cart
and after editing the order is updated from the cart. The supplierProductId
for the order item is now read into the cart so won't be lost.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857781 13f79535-47bb-0310-9956-ffa450edef68
2019-04-19 05:23:30 +00:00
Jacques Le Roux 33b1223681 Fixed: Stores can't be modified at ofbizsetup/control/updateProductStore
(OFBIZ-10930)

Same than parent issue (OFBIZ-10567) but in ofbizsetup component (which should 
have been names setup BTW, I created a setup component for that in Jira)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857692 13f79535-47bb-0310-9956-ffa450edef68
2019-04-17 16:19:00 +00:00
Nicolas Malin ed290e8337 Fixed: Duplicate a ShoppingCartItem didn't propage OrderItemAttributes
(OFBIZ-10929)

When you clone a ShoppingCartItem by constructor :
    ShoppingCartItem sci = new ShoppingCartItem(ShoppingCartItem item)

The ShoppingCartItem.orderItemAttributes wasn't propage from origin.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857657 13f79535-47bb-0310-9956-ffa450edef68
2019-04-16 19:29:30 +00:00
Deepak Dixit c0965e8c2a Fixed: Wrong permission check in ProductScreens#FindProduct
(OFBIZ-10925)
Thanks Dennis Balkir for your contribution

The permission service acctgAgreementPermissionCheck is used in the screen FindProduct in ProductScreens.xml. 
This doesn't really make sense, since there is no connection to the accounting application here.
There was the service productGenericPermission which could have been used instead, 
but this one calls the simple-method checkProductRelatedPermission, 
which then check for the CATALOG permission. Since this is already done in the CommonProductDecorator before, it would not make any sense to do this a second time.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857617 13f79535-47bb-0310-9956-ffa450edef68
2019-04-16 05:58:22 +00:00
Nicolas Malin 4865cdc3b2 Fixed: Update an order linked to an other order lost relation applications/order/
(OFBIZ-10926)
When you edit an order linked to an other order like drop shipment process, shopping cart lost the connexion.
The problem came from ShoppingCart.makeAllOrderItemAssociations() function that prepared all generic value OrderItemAssoc without toOrderId.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857605 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 22:14:12 +00:00
Jacques Le Roux a09a7f0179 Improved: Update build.gradle to the latest dependencies
(OFBIZ-10213)

Completes the previous commits, that will be it. I'll explain in the Jira...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857601 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 18:09:38 +00:00
Jacques Le Roux 7da5718d38 Improved: Update build.gradle to the latest dependencies
(OFBIZ-10213)

Something went wrong with r1857590 and reverted Tomcat to 9.0.17
Back to 9.0.19 with this commit

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857600 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 17:15:07 +00:00
Jacques Le Roux 38fd199601 Improved: Update build.gradle to the latest dependencies
(OFBIZ-10213)

At https://github.com/ben-manes/gradle-versions-plugin Ben Manes suggests to 
have a look at few Gradle plugins which depends on his own plugin. 

I checked and there is one which is interesting: 
https://github.com/patrikerdes/gradle-use-latest-versions-plugin. 
It does much of the work you would have to do manually when updating libs. 

Beware though that this is only a help. If you use it without check you will 
need to check things by yourself (can be as tedious as not using this plugin)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857599 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 17:04:34 +00:00
Jacques Le Roux 31a2266726 Improved: Update build.gradle to the latest dependencies
(OFBIZ-10922)

Some updates were not possible, I'll detail later which ones and why due to 
OFBIZ-10913 waiting for an improvement

Please refer to the Jira for more information

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857590 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 14:58:31 +00:00
Jacques Le Roux 3ff20f86c0 Fixed: Update Tomcat to 9.0.18 due to CVE-2019-0232
(OFBIZ-10920)

CVE-2019-0232 Apache Tomcat Remote Code Execution on Windows

Severity: Important

Vendor: The Apache Software Foundation

Versions Affected:
Apache Tomcat 9.0.0.M1 to 9.0.17
Apache Tomcat 8.5.0 to 8.5.39
Apache Tomcat 7.0.0 to 7.0.93

Description:
When running on Windows with enableCmdLineArguments enabled, the CGI
Servlet is vulnerable to Remote Code Execution due to a bug in the way
the JRE passes command line arguments to Windows. The CGI Servlet is
disabled by default. The CGI option enableCmdLineArguments is disabled
by default in Tomcat 9.0.x (and will be disabled by default in all
versions in response to this vulnerability). For a detailed explanation
of the JRE behaviour, see Markus Wulftange's blog [1] and this archived
MSDN blog [2].

Mitigation:
Users of affected versions should apply one of the following mitigations:
- Ensure the CGI Servlet initialisation parameter enableCmdLineArguments
    is set to false
- Upgrade to Apache Tomcat 9.0.18 or later when released
- Upgrade to Apache Tomcat 8.5.40 or later when released
- Upgrade to Apache Tomcat 7.0.93 or later when released
This announcement is being made before the releases are available as the
change to fix this issue is obviously security related.

Credit:
This issue was identified by an external security researcher and
reported to the Apache Tomcat security team via the bug bounty program
sponsored by the EU FOSSA-2 project.


jleroux: actually Tomcat 9.0.19 was released, here it is

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857586 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 14:36:51 +00:00
Deepak Dixit a2bc33efe0 Improved: Added missing permission check for MarketingCampaignRole update/expire/delete service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857547 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 06:09:25 +00:00
Deepak Dixit bb7b88757e Improved: Convert createMarketingCampaignRole service to entity-auto service
(OFBIZ-9551)
Thanks Suraj Khurana and Nicolas Malin for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857546 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 06:00:27 +00:00
Nicolas Malin 3300682de5 Fixed: Escape potential NPE when call by DataEvents.serverImage by mocked request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857456 13f79535-47bb-0310-9956-ffa450edef68
2019-04-13 09:28:39 +00:00
Jacques Le Roux d505634c31 Fixed: ‘./gradlew generateOfbizDocumentation’ fails with Gradle 5.0
(OFBIZ-10693)

This definitely fixes the problem in trunk

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857433 13f79535-47bb-0310-9956-ffa450edef68
2019-04-12 20:58:00 +00:00
Jacques Le Roux 25cfc51474 Improved: Removes ecommerce links from applications
(OFBIZ-9241)

While working on OFBIZ-9206 I remembered how the ecommerce webapp is deeply 
entrenched in some applications components. This can at least be tested with 
product and catalog webapp.

    Get to catalog/control/EditProduct?productId=GZ-1000
    Click on the "Product Page" button => ecommerce

There are much more cases (96 occurrences actually) but most of them are not 
hard dependencies.

Since the ecommerce component is now a plugin, we need to remove all ecommerce 
links from applications, I even wonder if this issue is really an improvement 
or should not be now considered a bug...

This is a temporary solution with a FIXME it was waiting for months and I
almost forgot it. There are better ideas in the Jira but nothing have been done
yet.


Thanks: Michael and Deepak for discussion and ideas

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857398 13f79535-47bb-0310-9956-ffa450edef68
2019-04-12 12:16:31 +00:00
Jacques Le Roux 13a86c1c87 Improved: Improve ObjectInputStream class
(OFBIZ-10837)

Fixes CVE-2019-0189

Cleans and simplifies things in UtilObject.java and also handles patterns. 
That's what we missed most when needing to update.

Fixes typos in SafeObjectInputStream class and add a commented line for a WIP in
resolveProxyClass method

Also includes work done in UtilObject.java for OFBIZ-9855 
"Using try-with-resources with File IO Objects."




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857392 13f79535-47bb-0310-9956-ffa450edef68
2019-04-12 09:29:03 +00:00
Scott Gray 9a349c7a99 Fixed: Bug in TemporalExpression MinuteRange and HourRange that can cause a day
or month to be skipped when using next() (OFBIZ-10875)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857382 13f79535-47bb-0310-9956-ffa450edef68
2019-04-12 08:54:27 +00:00
Jacques Le Roux 90c87d212a Documented:
(OFBIZ-10757)

As discussed on dev ML (https://markmail.org/message/wgy6cjzhv5auy52q) 
we need to inform users about the consequences of keeping on using Oracle Java.
We also suggest to use adoptopenjdk instead of Oracle JDK

Thanks to all who discussed on dev ML 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857381 13f79535-47bb-0310-9956-ffa450edef68
2019-04-12 08:43:01 +00:00
Nicolas Malin 9f62e476fb Fixed: clean deprecated code after release 18.12 creation
(OFBIZ-10761)
Remove unused minilang function, announced deprecated since 2005

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857374 13f79535-47bb-0310-9956-ffa450edef68
2019-04-12 08:03:16 +00:00
Nicolas Malin 61cf2fa891 Fixed: Add converter for StringWrapper and StringBuffer
(OFBIZ-5028)
To escape exception on native conversion, we add converter for StringBuffer and StringWrapper on MiscConverters
Thanks to Christoph Neuroth for this issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857371 13f79535-47bb-0310-9956-ffa450edef68
2019-04-12 07:17:28 +00:00
Nicolas Malin 2c0cd81783 Improved: Add french label for CommonImport and CommonImportExport
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857335 13f79535-47bb-0310-9956-ffa450edef68
2019-04-11 14:07:01 +00:00
Jacques Le Roux d382d57f6f Fixed: Quick Add button for shopping list on Orderentry screen is not working
(OFBIZ-9908)

Fixes typos introduced with previous commit

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857213 13f79535-47bb-0310-9956-ffa450edef68
2019-04-09 15:31:50 +00:00
Jacques Le Roux f4835c0ada Fixed: Quick Add button for shopping list on Orderentry screen is not working
(OFBIZ-9908)

Steps to generate
1. Navigate to https://demo-trunk.ofbiz.apache.org/ordermgr/control/orderentry
2. Press continue on sales order screen.
3. Add any finished good product to the sales order
4. In 'Add Order Items to Shopping List' section, select 'new shopping list' 
   from the drop down and click on 'Add to shopping list' button
5. you navigate to 'addBulkToShoppingList' screen, click on 'Quick Add' button.
Issue: The quick add button is not working.

jleroux: as suggested by Ankush: "One of possible workaround is calling 
createShoppingList with new transaction to resolve this deadlock issue."

This just does that for every calls.

Thanks: Garima jain for report, Rohit Hukkeri for discussion and Ankush Upadhyay 
for fix suggestion

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857180 13f79535-47bb-0310-9956-ffa450edef68
2019-04-09 11:58:22 +00:00
Jacques Le Roux fd50597e26 Fixed: Error message is displayed while click on create new quotes.
(OFBIZ-10882)

This feature has been removed with OFBIZ-10882, 

This removes the "Create New Quote" link, the redundant "Save" link (there is a 
Save button) and the OrderCreateQuoteFromShoppingList label which was only used 
there

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857173 13f79535-47bb-0310-9956-ffa450edef68
2019-04-09 11:49:10 +00:00
Jacques Le Roux 3459cbec98 Improved: no functional change
Adds a missing ASL2 header

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857154 13f79535-47bb-0310-9956-ffa450edef68
2019-04-09 10:11:16 +00:00
Jacques Le Roux ab70a5ba17 Fixed: Terminal automatically scrolls down on never ending tasks with the new
console
(OFBIZ-10915)

Since we use Gradle 5.0 we have this issue, at least in Windows, It's known by 
the Gradle Community 

They suggest to pass --console plain to the command and some others suggest to 
add org.gradle.console=plain to gradle.properties file which is IMO a better 
(less invasive) solution.

I tested in Ubuntu and the problem does not occur there. I don't know for other 
*nix distributions.

Anyway, IMO there is also another advantage: you don't see a percentage in 
console, often confusing for newbies. 

That's why I prefer to add a gradle.properties file rather than modifying the 
gradlew.bat file (both works in WIndows).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857152 13f79535-47bb-0310-9956-ffa450edef68
2019-04-09 10:09:15 +00:00
Jacques Le Roux 0458dc6cbc Improved: no functional change
Adds a missing ASL2 header (thanks Apache Creadur - aka Rat)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857151 13f79535-47bb-0310-9956-ffa450edef68
2019-04-09 09:42:30 +00:00
Jacques Le Roux f85a480f01 Improved: Using try-with-resources with File IO Objects.
(OFBIZ-9855)

Uses try with resources for File IO objects like ObjectInputStream and other 
objects. File classes have the AutoCloseable interface.

jleroux: this is only a part of the 2nd patch. The 1st patch will be committed
soon too...

All tests pass

Thanks: Pradhan Yash Sharma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857099 13f79535-47bb-0310-9956-ffa450edef68
2019-04-08 09:17:55 +00:00
Deepak Dixit 8dfa0dedd9 Reverted :Use try with resource for closing ‘EntityListIterator’
This commit causing 'ResultSet not open' while rendering list forms.
Scott's comments from ML:
You'll need to be careful with this one, based on the limited usage of the
iterator here it seems likely that it will be used again later in the
process.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857095 13f79535-47bb-0310-9956-ffa450edef68
2019-04-08 05:37:54 +00:00
Mathieu Lirzin a15b7b1996 Reverted: Changes done at r#1857089 and r#1857090 (OFBIZ-10911)(OFBIZ-10912)
The Cleanups introduced by those revisions has introduced some
unexpected regressions making the Gradle ‘loadAll’ task fail.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857091 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 23:36:29 +00:00
Mathieu Lirzin fef3988c46 Improved: Remove ‘CreateTableCallable’ private class (OFBIZ-10912)
This class was never instantiated locally.  Since this was a private
class it is better to remove it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857090 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 23:12:13 +00:00
Mathieu Lirzin d639aba7e7 Improved: Remove redundant null checks (OFBIZ-10911)
Redundant null checks detected by Eclipse has been removed.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857089 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 23:02:39 +00:00
Mathieu Lirzin f3a39e9665 Fixed: Remove redundant interface declaration (OFBIZ-10910)
‘java.io.ObjectInputStream’ already implements the ‘AutoCloseable’
interface, so there is no need to declare it in
‘SafeObjectInputStream’ which extends this class.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857088 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 22:11:53 +00:00
Mathieu Lirzin 8700328f09 Fixed: Remove unused type parameters (OFBIZ-10909)
No functional change.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857087 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 22:00:16 +00:00
Mathieu Lirzin 264ed9c8d2 Improved: Remove unused private ‘UnsupportedClassConverter’ class (OFBIZ-10908)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857085 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 19:39:54 +00:00