[jira] [Updated] (OFBIZ-7453) Enforce noninstantiability to WebDavUtil Class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-7453) Enforce noninstantiability to WebDavUtil Class

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-7453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Smits updated OFBIZ-7453:
--------------------------------
    Summary: Enforce noninstantiability to WebDavUtil Class  (was: WebDavUtil Class)

> Enforce noninstantiability to WebDavUtil Class
> ----------------------------------------------
>
>                 Key: OFBIZ-7453
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7453
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>            Reporter: Arun Patidar
>            Assignee: Rohit Koushal
>            Priority: Minor
>         Attachments: OFBIZ-7453.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make the following public static variables as private
> {code}
>     public static final TimeZone GMT_TIMEZONE = TimeZone.getTimeZone("GMT");
>     public static final String RFC1123_DATE_FORMAT = "EEE, dd MMM yyyy HH:mm:ss zzz";
> {code}
> - Add getRFC1123DateFormat() and replace use of WebDavUtil.RFC1123_DATE_FORMAT from class 'ICalWorker'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)