You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org> on 2007/04/16 10:01:32 UTC
[jira] Assigned: (WICKET-339) MockServletContext.createTempDir()
wrong file names
[ https://issues.apache.org/jira/browse/WICKET-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Quenot reassigned WICKET-339:
-------------------------------------------
Assignee: Jean-Baptiste Quenot
> MockServletContext.createTempDir() wrong file names
> ---------------------------------------------------
>
> Key: WICKET-339
> URL: https://issues.apache.org/jira/browse/WICKET-339
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 2.0
> Reporter: Jean-Baptiste Quenot
> Assigned To: Jean-Baptiste Quenot
> Fix For: 2.0
>
>
> There is a counter in createTempDir() that is supposed to create directories like:
> * dir0
> * dir1
> * dir2
> But currently it creates the following directories:
> * dir0
> * dir01
> * dir012
> Moreover, testing every path with File.exists() can affect performance, I would advise to use UUID and not check that the directory exists, as UUID is really unique for the running JVM.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.