diff options
Diffstat (limited to 'uitest/src/main/java/com/vaadin/tests/TreeFilesystem.java')
-rw-r--r-- | uitest/src/main/java/com/vaadin/tests/TreeFilesystem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/TreeFilesystem.java b/uitest/src/main/java/com/vaadin/tests/TreeFilesystem.java index 3f5a44f61a..570b8b126c 100644 --- a/uitest/src/main/java/com/vaadin/tests/TreeFilesystem.java +++ b/uitest/src/main/java/com/vaadin/tests/TreeFilesystem.java @@ -103,7 +103,7 @@ public class TreeFilesystem extends com.vaadin.server.LegacyApplication for (int x = 0; x < files.length; x++) { try { // add new item (String) to tree - final String path = files[x].getCanonicalPath().toString(); + final String path = files[x].getCanonicalPath(); tree.addItem(path); // set parent if this item has one if (parent != null) { |