[
https://issues.apache.org/jira/browse/CAMEL-5277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13277086#comment-13277086
]
Christian Müller commented on CAMEL-5277:
-----------------------------------------
Ronald, thanks for the patch.
> 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: Future
>
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> 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