Hi,

what that code do? Shouldnt it be replaced by something like this?:
File.createTempFile(arg0, arg1, arg2);

Imho this is standard method of doing it.

PS: this creates temp file, not folder. A little bit modifiing probably should 
be used. I mean that like suggestion, I dont have any interest on that code.

Have a nice day.
-- 
Odborník na všetko je zlý odborník. Ja sa snažím byť výnimkou potvrdzujúcou 
pravidlo.

On Thursday 08 October 2009 11:14:06 Ziegler Stefan wrote:
> Hi
>
> it seems that the prefix is ignored and it always creates a temporary
> directory starting with "wfsshptmp".
>
> line 185 from org.geoserver.data.util.java should changed from:
>
>  File reqTempDir = new File(sysTempDir + File.separator + "wfsshptemp" +
> Math.random());
>
> to
>
>  File reqTempDir = new File(sysTempDir + File.separator + prefix +
> Math.random());
>
> regards
> Stefan
>
>
> mit freundlichem Gruss
> Stefan Ziegler
>
> ---------------------------------------------------------------------------
>--- 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

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