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/03/01 11:24:50 UTC

[jira] Created: (WICKET-339) MockServletContext.createTempDir() wrong file names

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
             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.


[jira] Assigned: (WICKET-339) MockServletContext.createTempDir() wrong file names

Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Resolved: (WICKET-339) MockServletContext.createTempDir() wrong file names

Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Quenot resolved WICKET-339.
-----------------------------------------

    Resolution: Won't Fix

> 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.