diff --git a/java/org/slub/rosetta/dps/repository/plugin/storage/nfs/TestSLUBStoragePlugin.java b/java/org/slub/rosetta/dps/repository/plugin/storage/nfs/TestSLUBStoragePlugin.java
index e585d4011550f5ac40920e4ef7555ed58b7aa20f..2a69a872c57f2dd8a92bc7c7710c9bb573e31d8f 100644
--- a/java/org/slub/rosetta/dps/repository/plugin/storage/nfs/TestSLUBStoragePlugin.java
+++ b/java/org/slub/rosetta/dps/repository/plugin/storage/nfs/TestSLUBStoragePlugin.java
@@ -40,7 +40,7 @@ public class TestSLUBStoragePlugin {
   @Before
   public void setUp() throws IOException {
     testroot = Files.createTempDirectory("testslubstorage");
-    Files.createFile(of(testroot.toAbsolutePath().toString() + "/foo"));
+    Files.createFile(of(testroot.toAbsolutePath() + "/foo"));
     mock = new SLUBStoragePlugin();
     HashMap<String, String> map = new HashMap<String,String> ();
     map.put("DIR_ROOT", testroot.toAbsolutePath().toString());
@@ -74,7 +74,7 @@ public class TestSLUBStoragePlugin {
 
   @Test
   public void getFullFilePath() {
-    assertEquals( "getFullFilePath", testroot.toAbsolutePath().toString()+"/2022", mock.getFullFilePath("/2022"));
+    assertEquals( "getFullFilePath", testroot.toAbsolutePath()+"/2022", mock.getFullFilePath("/2022"));
   }
   @Test
   public void retrieveEntity() {
@@ -88,7 +88,7 @@ public class TestSLUBStoragePlugin {
   @Test
   public void retrieveEntity_dirroot() {
     try {
-      InputStream is = mock.retrieveEntity(testroot.toAbsolutePath().toString() + "/foo");
+      InputStream is = mock.retrieveEntity(testroot.toAbsolutePath() + "/foo");
       assertTrue("retrieveEntity", true);
     } catch (IllegalArgumentException e) {
       assertEquals("retrieveEntity", "", e.getMessage());