Hmm that might have had an actual File object created then the delete issued then it was removed perhaps. Feel free to remove it since it does nothing.
ApacheDS Core Annotations
org.apache.directory.server.core.factory.DefaultDirectoryServiceFactory Line 219:
"Erase the working directory to be sure that we don't have some remaining data from a previous run",
but all what is done is
"String workingDirectoryPath = directoryService.getInstanceLayout().getInstanceDirectory().getPath();"
Looks not very logical to me. Any ideas?