We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6603e84 commit bec31f4Copy full SHA for bec31f4
io.sloeber.ui/src/io/sloeber/ui/project/properties/BoardSelectionPage.java
@@ -266,11 +266,13 @@ public void draw(Composite composite) {
266
}
267
268
private static String[] tidyUpLength(String[] pLongNames) {
269
+ final String separator = "/"; //$NON-NLS-1$
270
ArrayList<String> shortNames = new ArrayList<>();
271
for (String longName : pLongNames) {
- String[] pathParts = longName.split(File.separator);
272
+ System.err.println(longName);
273
+ String[] pathParts = longName.split(separator);
274
if (pathParts.length > 10) {
- StringJoiner sj = new StringJoiner(File.separator);
275
+ StringJoiner sj = new StringJoiner(separator);
276
sj.add(pathParts[0]);
277
sj.add(pathParts[1]);
278
sj.add(pathParts[2]);
0 commit comments