wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Baptiste Quenot (JIRA)" <j...@apache.org>
Subject [jira] Created: (WICKET-339) MockServletContext.createTempDir() wrong file names
Date Thu, 01 Mar 2007 10:24:50 GMT
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

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message