Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
29007
Description
- if file.startWith(.) getExtension =""
The extension is for the files which have a name.
e.g. .bashrc c:\windows\.java c:\windows\.javaws c:\windows\.jedit
c:\windows\.appletviewer
- FileReplicator should not use .tmp but tmp_
When the FileReplicator creates a temporary file the pattern should be
tmp_name and not name.tmp as the file created is then used with an application
that uses the extension of the file (such as a TextEditor that colorize the
content of a file according to its extension)
- Also FileReplicator should use java.io.File.deleteOnExit() method for the
files for tmp files. e.g. When I used the FileReplicator I ended with more than
100 files in the directory.