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

Christian Müller commented on CAMEL-5277:
-----------------------------------------

I created KARAF-1500 and attached a patch for it.
                
> 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


Reply via email to