use the hashmap

pull/8/head
Medad Rufus Newman 2022-05-07 23:19:16 +01:00
rodzic f29ce09183
commit 4f21e36754
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -64,9 +64,9 @@ public final class Sentence {
// format basic string
StringBuilder sb = new StringBuilder();
sb.append(String.format(Locale.ROOT, "%s,%d,%s", callSign, id, timeString));
for (String s : fields) {
for (Entry<String, String> s : fields) {
sb.append(',');
sb.append(s);
sb.append(s.getValue());
}
String basic = sb.toString();