You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Johannes Schacht (JIRA)" <ji...@apache.org> on 2017/03/10 19:19:04 UTC

[jira] [Updated] (CMIS-1018) Converting BigInteger to string when 0 yields string.Empty

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

Johannes Schacht updated CMIS-1018:
-----------------------------------
    Description: 
In url.cs, line 165, I needed this change:

New:
{code:title=Bar.java|borderStyle=solid}
return ((BigInteger)value).ToString("0", CultureInfo.InvariantCulture);
{code}
Old:
return ((BigInteger)value).ToString("#", CultureInfo.InvariantCulture);

  was:
In url.cs I needed this change:

New:
return ((BigInteger)value).ToString("0", CultureInfo.InvariantCulture);

Old:
return ((BigInteger)value).ToString("#", CultureInfo.InvariantCulture);


> Converting BigInteger to string when 0 yields string.Empty
> ----------------------------------------------------------
>
>                 Key: CMIS-1018
>                 URL: https://issues.apache.org/jira/browse/CMIS-1018
>             Project: Chemistry
>          Issue Type: Bug
>          Components: portcmis
>            Reporter: Johannes Schacht
>
> In url.cs, line 165, I needed this change:
> New:
> {code:title=Bar.java|borderStyle=solid}
> return ((BigInteger)value).ToString("0", CultureInfo.InvariantCulture);
> {code}
> Old:
> return ((BigInteger)value).ToString("#", CultureInfo.InvariantCulture);



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)