You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Cyriel Vringer (JIRA)" <ji...@apache.org> on 2011/02/02 22:12:28 UTC

[jira] Created: (JCR-2876) org.apache.jackrabbit.server.io.IOUtil getTempFile misses dot in tmp suffix

org.apache.jackrabbit.server.io.IOUtil getTempFile misses dot in tmp suffix
---------------------------------------------------------------------------

                 Key: JCR-2876
                 URL: https://issues.apache.org/jira/browse/JCR-2876
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-jcr-server
    Affects Versions: 2.2.2
         Environment: ALL
            Reporter: Cyriel Vringer
            Priority: Minor


At line 168:
File tmpFile = File.createTempFile("__importcontext", "tmp");
Suffix tmp has no use because the dot is missing.

Should be:
File tmpFile = File.createTempFile("__importcontext", ".tmp");



-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (JCR-2876) org.apache.jackrabbit.server.io.IOUtil getTempFile misses dot in tmp suffix

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

angela resolved JCR-2876.
-------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.0

thanks for reporting this issue and the patch

> org.apache.jackrabbit.server.io.IOUtil getTempFile misses dot in tmp suffix
> ---------------------------------------------------------------------------
>
>                 Key: JCR-2876
>                 URL: https://issues.apache.org/jira/browse/JCR-2876
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-server
>    Affects Versions: 2.2.2
>         Environment: ALL
>            Reporter: Cyriel Vringer
>            Priority: Minor
>             Fix For: 2.3.0
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> At line 168:
> File tmpFile = File.createTempFile("__importcontext", "tmp");
> Suffix tmp has no use because the dot is missing.
> Should be:
> File tmpFile = File.createTempFile("__importcontext", ".tmp");

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira