Added #2057 Show all assigned AS linkage classes in the item name (instead just one)

This commit is contained in:
Jindra Petřík
2023-09-10 17:50:33 +02:00
parent 3873e960e5
commit 0a52175bc3
8 changed files with 69 additions and 27 deletions

View File

@@ -241,6 +241,17 @@ public class Helper {
return ret.toString();
}
public static String joinEscapePCodeString(String glue, Collection<String> collection) {
StringBuilder sb = new StringBuilder();
for (String s:collection) {
if (sb.length() > 0) {
sb.append(glue);
}
sb.append(escapePCodeString(s));
}
return sb.toString();
}
/**
* Escapes string by adding backslashes
*