IOUtils.createTempDirectory - Prefix is ignored
-----------------------------------------------

                 Key: GEOS-3588
                 URL: http://jira.codehaus.org/browse/GEOS-3588
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 2.0-RC1
         Environment: Kubuntu 9.04
            Reporter: Stefan Ziegler
            Assignee: Andrea Aime


Prefix parameter is ignored when creating a temp directory with the 
IOUtils.createTempDirectory(String prefix) method.

the following line:

File reqTempDir = new File(sysTempDir + File.separator + "wfsshptemp" + 
Math.random());

should be changed to:

File reqTempDir = new File(sysTempDir + File.separator + prefix + 
Math.random());


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to