class DefaultTempDirProvider implements TempDirProvider {

    private static final long serialVersionUID = 1L;
    
    final private static File TEMP_DIR = makeTempDir();
    
    protected static File makeTempDir() {<FILL_FUNCTION_BODY>}
    
    
    public File getScratchDisk() {
        return TEMP_DIR;
    }
}

        File f;
        try {
            f = File.createTempFile("xxx", null);
            File r = f.getParentFile();
            f.delete();
            return r;
        } catch (IOException e) {
            return new File("temp");
        }        
    
<no_super_class>