Skip to content
Snippets Groups Projects
Commit 6cbc4978 authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

Minor bug correction in ellapsedTimeToStringBuilder

parent 02e34f6d
Branches
Tags
No related merge requests found
......@@ -322,6 +322,7 @@ public final class DateUtil implements IDateConstants {
}
if ((milliseconds > 0) || (!added)) {
builder.append(milliseconds).append(MS);
space = false;
}
if (space) {
if (builder.charAt(builder.length() - 1) == ' ') {
......@@ -420,6 +421,7 @@ public final class DateUtil implements IDateConstants {
}
if ((nanoseconds > 0) || (!added)) {
builder.append(nanoseconds).append(NS);
space = false;
}
if (space) {
if (builder.charAt(builder.length() - 1) == ' ') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment