Use StringBuilder to build the menu path string.

This commit is contained in:
Alessandro Gatti 2019-12-17 21:58:48 +01:00
parent 0d82026555
commit fd3b1b28cc

View File

@ -220,7 +220,7 @@ class PluginDetailsPanel extends AbstractDetailsPanel {
return null;
}
StringBuffer buffy = new StringBuffer();
StringBuilder buffy = new StringBuilder();
for (int i = 0; i < path.length; i++) {
buffy.append(path[i].replaceAll("\\&", "")); // strip off the mnemonic identifier '&'
if (i != path.length - 1) {