*/
package org.sonar.core.util;
+import javax.annotation.Nullable;
import java.io.File;
import java.io.IOException;
import java.nio.file.FileVisitOption;
import java.text.CharacterIterator;
import java.text.StringCharacterIterator;
import java.util.EnumSet;
-import javax.annotation.Nullable;
+import java.util.Locale;
import static com.google.common.base.Preconditions.checkArgument;
import static java.lang.String.format;
bytes /= 1000;
ci.next();
}
- return String.format("%.1f %cB", bytes / 1000.0, ci.current());
+ return String.format(Locale.ENGLISH, "%.1f %cB", bytes / 1000.0, ci.current());
}
/**