camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller (JIRA) <j...@apache.org>
Subject [jira] [Closed] (CAMEL-5277) Forgot a space between hours and minutes in org/apache/camel/util/TimeUtils.java
Date Wed, 16 May 2012 20:33:07 GMT

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

Christian Müller closed CAMEL-5277.
-----------------------------------

    Resolution: Fixed
    
> Forgot a space between hours and minutes in org/apache/camel/util/TimeUtils.java
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-5277
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5277
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>         Environment: all environments
>            Reporter: Ronald de Haan
>            Assignee: Christian Müller
>            Priority: Minor
>              Labels: TimeUtil, space, spaces, uptime
>             Fix For: 2.8.6, 2.9.3, 2.10.0
>
>
> org/apache/camel/util/TimeUtils.java
> in the printDuration method is something wrong on line 63 and 72.
> 63: s += " " + fmtI.format(minutes) + (minutes > 1 ? " minutes" : "minute");
> has to be:
> 63: s += " " + fmtI.format(minutes) + (minutes > 1 ? " minutes" : " minute");
> 72: s += " " + fmtI.format(hours) + (hours > 1 ? " hours" : "hour");
> has to be:
> 72: s += " " + fmtI.format(hours) + (hours > 1 ? " hours" : " hour");

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message