camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronald de Haan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5277) Forgot a space between hours and minutes in org/apache/camel/util/TimeUtils.java
Date Mon, 21 May 2012 08:29:40 GMT

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

Ronald de Haan commented on CAMEL-5277:
---------------------------------------

Has this also been changed in Karaf? Because it says it has been copied?
                
> 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