* renamed method name

This commit is contained in:
Reinhard Pointner 2008-10-22 22:35:17 +00:00
parent e6df0141c7
commit 8cb277252b
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ public class LazyTextFileTransferable implements Transferable {
String validFileName = FileBotUtil.validateFileName(defaultFileName);
// create new temporary file in TEMP/APP_NAME [UUID]/dnd
File temporaryFile = TemporaryFolder.getFolder(FileBotUtil.getApplicationName().toLowerCase()).createFolder("dnd").createFile(validFileName);
File temporaryFile = TemporaryFolder.getFolder(FileBotUtil.getApplicationName().toLowerCase()).subFolder("dnd").createFile(validFileName);
// write text to file
FileChannel fileChannel = new FileOutputStream(temporaryFile).getChannel();

View File

@ -119,7 +119,7 @@ public final class TemporaryFolder {
}
public TemporaryFolder createFolder(String name) {
public TemporaryFolder subFolder(String name) {
return new TemporaryFolder(new File(getFolder(), name));
}