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

Frank Budinsky resolved TUSCANY-1410.
-------------------------------------

    Resolution: Fixed

Fixed in revision 553921.

> DataHelperImpl.toCalendar() with null locale should use default locale
> ----------------------------------------------------------------------
>
>                 Key: TUSCANY-1410
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1410
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>            Reporter: Andy Grove
>            Priority: Minor
>
> DataHelperImpl.toCalendar() currently returns null if the locale parameter is 
> null. However, according to the published SDO API javadoc comments, if locale 
> is null then the default locale should be used. To resolve this, the 
> following code can be added at the start of the method.
>     if (locale == null) {
>       locale = Locale.getDefault();
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to