Enhance docs in UnitConversions (#5945)

This commit is contained in:
Hardik Pawar
2024-10-23 12:17:59 +05:30
committed by GitHub
parent 03fe106e32
commit a8a1abac64
2 changed files with 39 additions and 2 deletions

View File

@@ -13,8 +13,8 @@ import org.junit.jupiter.params.provider.MethodSource;
public class UnitConversionsTest {
private static void addData(Stream.Builder<Arguments> builder, Map<String, Double> values) {
for (final var first : values.entrySet()) {
for (final var second : values.entrySet()) {
for (var first : values.entrySet()) {
for (var second : values.entrySet()) {
if (!first.getKey().equals(second.getKey())) {
builder.add(Arguments.of(first.getKey(), second.getKey(), first.getValue(), second.getValue()));
}