question: private File createTempFile ( String suffix ) throws IOException { String prefix = "gerrit_test_" ; if ( ! Strings . isNullOrEmpty ( getName ( ) ) ) { prefix += getName ( ) + "_" ; } File tmp = File . createTempFile ( prefix , suffix ) ; toCleanup . add ( tmp ) ; return tmp ; }
target:  Creates a file in the system's default folder for temporary files. The file/directory automatically gets removed during tearDown. The name of the created file begins with 'gerrit_test_', and is located in the system's default folder for temporary files.