[ 
https://issues.apache.org/jira/browse/OFBIZ-10188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16357045#comment-16357045
 ] 

Jacques Le Roux edited comment on OFBIZ-10188 at 2/8/18 3:10 PM:
-----------------------------------------------------------------

I have not a strong opinion about it.

I regularly ask people to use EntityUtilProperties instead of simply 
UtilProperties, because EntityUtilProperties ultimately relies on 
UtilProperties. But on the other hand it's sometimes a pain because it's 
incomplete. So you write things like

{{boolean ... = EntityUtilProperties.getPropertyAsBoolean("...", "...", 
false);}}
instead of
{{boolean ... = UtilProperties.getPropertyAsBoolean("...", "...", false);}}
And one day maybe a delegator will miss there. In other words we should 
complete EntityUtilProperties before asking everyone to use it :D
In case or simple properties it's OK though.


was (Author: jacques.le.roux):
I have not a strong opinion about it.

I regularly ask people to use EntityUtilProperties instead of simply 
UtilProperties, because EntityUtilProperties ultimately relies on 
UtilProperties. But on the other hand it's sometimes a pain because it's 
incomplete. So you write things like

{{boolean ... = EntityUtilProperties.getPropertyAsBoolean("...", "...", 
false);}}
instead of
{{boolean ... = yUtilProperties.getPropertyAsBoolean("...", "...", false);}}
And one day maybe a delegator will miss there. In other words we should 
complete EntityUtilProperties before asking everyone to use it :D
In case or simple properties it's OK though.

> Add new FileUtil methods for zip management
> -------------------------------------------
>
>                 Key: OFBIZ-10188
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10188
>             Project: OFBiz
>          Issue Type: New Feature
>            Reporter: Gil Portenseigne
>            Assignee: Gil Portenseigne
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10188.patch, OFBIZ_10188.patch
>
>
> Add new FileUtil methods for zip management.
> Add zipFileStream method that will zip FileStream to a zipped one.
> Add unzipFileToFolder method to unzip a given archive to a given Folder



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to