java.io.File to java.nio.file.Path
No. of Instances - 502
No. of Commits - 56
No. of Projects - {'jetty.project', 'error-prone', 'cryptomator', 'hadoop', 'Chronicle-Queue', 'wildfly', 'speedment', 'AsciidocFX', 'camel', 'che', 'dropwizard', 'sonarqube', 'jgit', 'graylog2-server', 'junit5', 'infinispan', 'orientdb', 'javaparser', 'undertow', 'closure-compiler', 'neo4j', 'flink', 'checkstyle'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
- Cascading Type Change (Similar)
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to java.nio.file.Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- File to Path
- Convert Class instance creation to method invocation
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- File to toPath
- File to toPath
- File to toPath
- File to resolve
- File to resolve
- File to resolve
- File to resolve
- StoreCopyClient to augment
- File to resolve
- Add or Remove Method invocation
- root.getAbsolutePath() to root.toAbsolutePath().toString()
- new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler().setResourceManager(new PathResourceManager(newSymlink,10485760,true,rootPath.getAbsolutePath().concat("/innerSymlink"))).setDirectoryListingEnabled(false).addWelcomeFiles("page.html"))) to new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler(new PathResourceManager(newSymlink,10485760,true,rootPath.toAbsolutePath().toString().concat("/innerSymlink"))).setDirectoryListingEnabled(false).addWelcomeFiles("page.html")))
- file.length() to Files.size(file)
- file.getPath() to file.toString()
- file.getAbsolutePath() to file.toAbsolutePath().toString()
- base.getAbsolutePath() to base.toAbsolutePath().toString()
- file.getAbsolutePath() to file.toAbsolutePath().toString()
- base.getAbsolutePath() to base.toAbsolutePath().toString()
- FileUtils.readFile(logFileName) to Files.exists(logFileName)
- logFileName.exists() to Files.readAllBytes(logFileName)
- new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler().setResourceManager(new PathResourceManager(newSymlink,10485760,true,"/")).setDirectoryListingEnabled(false).addWelcomeFiles("page.html"))) to new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler(new PathResourceManager(newSymlink,10485760,true,"/")).setDirectoryListingEnabled(false).addWelcomeFiles("page.html")))
- file.listFiles() to stream
- new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler().setResourceManager(new PathResourceManager(newSymlink,10485760,true,"")).setDirectoryListingEnabled(false).addWelcomeFiles("page.html"))) to new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler(new PathResourceManager(newSymlink,10485760,true,"")).setDirectoryListingEnabled(false).addWelcomeFiles("page.html")))
- new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler().setResourceManager(new PathResourceManager(newSymlink,10485760,true,rootPath.getAbsolutePath().concat("/newDir"))).setDirectoryListingEnabled(false).addWelcomeFiles("page.html"))) to new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler(new PathResourceManager(newSymlink,10485760,true,rootPath.toAbsolutePath().toString().concat("/newDir"))).setDirectoryListingEnabled(false).addWelcomeFiles("page.html")))
- new PathHandler().addPrefixPath("/path",new ResourceHandler().setResourceManager(new PathResourceManager(newSymlink,10485760,true,rootPath.getAbsolutePath().concat("/newDir"))).setDirectoryListingEnabled(false).addWelcomeFiles("page.html")) to new PathHandler().addPrefixPath("/path",new ResourceHandler(new PathResourceManager(newSymlink,10485760,true,rootPath.toAbsolutePath().toString().concat("/newDir"))).setDirectoryListingEnabled(false).addWelcomeFiles("page.html"))
- File.createTempFile("undertow","upload",tempFileLocation) to Files.createTempFile("undertow","upload")
- new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler().setResourceManager(new PathResourceManager(newSymlink,10485760,true,"innerDir")).setDirectoryListingEnabled(false).addWelcomeFiles("page.html"))) to new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler(new PathResourceManager(newSymlink,10485760,true,"innerDir")).setDirectoryListingEnabled(false).addWelcomeFiles("page.html")))
- new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler().setResourceManager(new PathResourceManager(newSymlink,10485760,true,rootPath.getAbsolutePath().concat("/otherDir"))).setDirectoryListingEnabled(false).addWelcomeFiles("page.html"))) to new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler(new PathResourceManager(newSymlink,10485760,true,rootPath.toAbsolutePath().toString().concat("/otherDir"))).setDirectoryListingEnabled(false).addWelcomeFiles("page.html")))
- workingDir to workingDir.toFile()
- canonicalName.equalsIgnoreCase(file.getName()) to canonicalName.equalsIgnoreCase(file.getFileName().toString())
- canonicalName.equals(file.getName()) to canonicalName.equals(file.getFileName().toString())
- new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler().setResourceManager(new PathResourceManager(newSymlink,10485760)).setDirectoryListingEnabled(false).addWelcomeFiles("page.html"))) to new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler(new PathResourceManager(newSymlink,10485760)).setDirectoryListingEnabled(false).addWelcomeFiles("page.html")))
- new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler().setResourceManager(new PathResourceManager(newSymlink,10485760,true,"")).setDirectoryListingEnabled(false).addWelcomeFiles("page.html"))) to new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler(new PathResourceManager(newSymlink,10485760,true,"")).setDirectoryListingEnabled(false).addWelcomeFiles("page.html")))
- new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler().setResourceManager(new PathResourceManager(rootPath,10485760)).setDirectoryListingEnabled(true))) to new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler(new PathResourceManager(rootPath,10485760)).setDirectoryListingEnabled(true)))
- new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler().setResourceManager(new PathResourceManager(newSymlink,10485760,true,"")).setDirectoryListingEnabled(false).addWelcomeFiles("page.html"))) to new CanonicalPathHandler().setNext(new PathHandler().addPrefixPath("/path",new ResourceHandler(new PathResourceManager(newSymlink,10485760,true,"")).setDirectoryListingEnabled(false).addWelcomeFiles("page.html")))
- file.getName() to file.getFileName()
- file.getName() to file.getFileName()
- file.getName() to file.getFileName()
- file.getName() to file.getFileName()
- file.getName() to file.getFileName()
- file.getName() to file.getFileName()
- osFile.getName() to osFile.getFileName()
- osFile.getAbsolutePath() to osFile.toString()
- osFile.getName() to osFile.getFileName()
- error to error
- file to path.getFileName().toString()
- file to path.getFileName()
- file.getName() to path
- Paths.get(file.getAbsolutePath()) to path
- this.walLocation.listFiles(new SimpleFileNameFilter(storage)) to Files.find(walLocation,1,(Path path,BasicFileAttributes attributes) -> validateName(path.getFileName().toString(),storageName,locale))
- this.walLocation.listFiles(new FilenameFilter(storage)) to Files.find(walLocation,1,(Path path,BasicFileAttributes attrs) -> validateSimpleName(path.getFileName().toString(),locale))
- getRootDirectory to resolve
- file.getPath() to path.toString()
- file.getPath() to path.toString()
- file.getPath() to path.toString()
- dir.toFile() to DirectoryHelper.getVerifiedIndexPath(directoryProviderName,properties,true)
- file to folder.getFileName()
- folder to file.getFileName()
- file.canWrite() to Files.isWritable(file)
- ConfigOverride.config("logging.appenders[0].currentLogFilename",logFile.getAbsolutePath()) to ConfigOverride.config("logging.appenders[0].currentLogFilename",logFile.toString())
- ConfigOverride.config("logging.appenders[0].currentLogFilename",logFile.getAbsolutePath()) to ConfigOverride.config("logging.appenders[0].currentLogFilename",logFile.toString())
- example.getName() to example.getFileName()
- Files.newReader(new File(wikiDir,"DeadException.md"),StandardCharsets.UTF_8) to Files.newBufferedReader(wikiDir.resolve("DeadException.md"),UTF_8)
- file.canRead() to Files.isReadable(file)
- new JavaParser(parserConfiguration).parse(ParseStart.COMPILATION_UNIT,new StreamProvider(new FileInputStream(f))).getResult() to new JavaParser(parserConfiguration).parse(ParseStart.COMPILATION_UNIT,provider(f)).getResult()
- Paths.get(file.getAbsolutePath()) to file
- new JavaParser(parserConfiguration).parse(ParseStart.COMPILATION_UNIT,new StreamProvider(new FileInputStream(f))).getResult() to new JavaParser(parserConfiguration).parse(ParseStart.COMPILATION_UNIT,provider(f)).getResult()
- Paths.get(file.getAbsolutePath()) to file
- new JavaParser(parserConfiguration).parse(ParseStart.COMPILATION_UNIT,new StreamProvider(new FileInputStream(f))).getResult() to new JavaParser(parserConfiguration).parse(ParseStart.COMPILATION_UNIT,provider(f)).getResult()
- srcFile.getAbsolutePath() to srcFile.toAbsolutePath()
- srcFile.exists() to Files.exists(srcFile)
- javaParser.parse(COMPILATION_UNIT,provider(srcFile)).getResult().map(cu -> cu.setStorage(srcFile.toPath())) to javaParser.parse(COMPILATION_UNIT,provider(srcFile)).getResult().map(cu -> cu.setStorage(srcFile))
- srcDir.getAbsolutePath() to srcDir.toAbsolutePath().toString()
- javaParser.parse(ParseStart.COMPILATION_UNIT,new StreamProvider(new FileInputStream(file))).getResult() to javaParser.parse(ParseStart.COMPILATION_UNIT,new StreamProvider(Files.newInputStream(file))).getResult()
- reportsDir.toPath() to reportsDir
- format("The java.lang.Class loaded from file [%s] has a malformed class name [%s].",classFile.getAbsolutePath(),clazz.get().getName()) to format("The java.lang.Class loaded from path [%s] has a malformed class name [%s].",classFile.toAbsolutePath(),clazz.get().getName())
- format("The java.lang.Class loaded from file [%s] has a malformed class name.",classFile.getAbsolutePath()) to format("The java.lang.Class loaded from path [%s] has a malformed class name.",classFile.toAbsolutePath())
- "package-info.class".equals(file.getName()) to path.endsWith("package-info.class")
- format("Failed to load java.lang.Class for file [%s] during classpath scanning.",classFile.getAbsolutePath()) to format("Failed to load java.lang.Class for path [%s] during classpath scanning.",classFile.toAbsolutePath())
- file.isFile() to Files.isRegularFile(path)
- file to path.getFileName()
- Arrays.stream(fullClassPath.split(File.pathSeparator)).filter(part -> !part.endsWith(".jar")).map(File::new).filter(File::isDirectory) to Arrays.stream(fullClassPath.split(File.pathSeparator)).map(Paths::get).filter(Files::isDirectory)
- options.getArguments().stream().map(File::new) to options.getArguments().stream().map(Paths::get)
- parser.accepts("reports-dir","Enable report output into a specified local directory (will be created if it does not exist).").withRequiredArg().ofType(File.class) to parser.accepts("reports-dir","Enable report output into a specified local directory (will be created if it does not exist).").withRequiredArg().withValuesConvertedBy(new PathConverter())
- parser.acceptsAll(asList("cp","classpath","class-path"),"Provide additional classpath entries -- for example, for adding engines and their dependencies. " + "This option can be repeated.").withRequiredArg().ofType(File.class).withValuesSeparatedBy(File.pathSeparatorChar).describedAs("path1" + File.pathSeparator + "path2"+ File.pathSeparator+ "...") to parser.acceptsAll(asList("cp","classpath","class-path"),"Provide additional classpath entries -- for example, for adding engines and their dependencies. " + "This option can be repeated.").withRequiredArg().withValuesConvertedBy(new PathConverter()).withValuesSeparatedBy(File.pathSeparatorChar).describedAs("path1" + File.pathSeparator + "path2"+ File.pathSeparator+ "...")
- subdir to subdir.toFile()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- is(homePath.getAbsolutePath()) to is(homePath.toString())
- is(homePath.getAbsolutePath()) to is(homePath.toString())
- is(homePath.getAbsolutePath()) to is(homePath.toString())
- is(homePath.getAbsolutePath()) to is(homePath.toString())
- is(homePath.getAbsolutePath()) to is(homePath.toString())
- is(homePath.getAbsolutePath()) to is(homePath.toString())
- common.getAbsolutePath() to common.toString()
- basePath.getAbsolutePath() to basePath.toString()
- devops.getAbsolutePath() to devops.toString()
- devops.getAbsolutePath() to devops.toString()
- corp.getAbsolutePath() to corp.toString()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- corp.getAbsolutePath() to corp.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- corp.getAbsolutePath() to corp.toString()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- opt.getAbsolutePath() to opt.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- common.getAbsolutePath() to common.toString()
- baseDir.getAbsolutePath() to baseDir.toString()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- corp.getAbsolutePath() to corp.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- destDir to destDir.toFile()
- corp.getAbsolutePath() to corp.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- devops.getAbsolutePath() to devops.toString()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- corp.getAbsolutePath() to corp.toString()
- corp.getAbsolutePath() to corp.toString()
- corp.getAbsolutePath() to corp.toString()
- homeDir.getAbsolutePath() to homeDir.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- file.toPath() to file
- file to file.toFile()
- opt.getAbsolutePath() to opt.toString()
- corp.getAbsolutePath() to corp.toString()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- path.getAbsolutePath() to path.toRealPath().toString()
- common.getAbsolutePath() to common.toString()
- outputFile.getParentFile() to outputFile.getParent()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- corp.getAbsolutePath() to corp.toString()
- corp.getAbsolutePath() to corp.toString()
- corp.getAbsolutePath() to corp.toString()
- base.toPath().toRealPath() to base.toRealPath()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- corp.getAbsolutePath() to corp.toString()
- devops.getAbsolutePath() to devops.toString()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- devops.getAbsolutePath() to devops.toString()
- common.getAbsolutePath() to common.toString()
- corp.getAbsolutePath() to corp.toString()
- common.getAbsolutePath() to common.toString()
- common.getAbsolutePath() to common.toString()
- home.toPath().toRealPath() to home.toRealPath()
- destFile.getParentFile() to destFile.getParent()
- srcFile to srcFile.toFile()
- destFile to destFile.toFile()
- testWebXml to testWebXml.toFile()
- webxml to webxml.toFile()
- testWebXml to testWebXml.toFile()
- webxml to webxml.toFile()
- File.createTempFile("ewyk","dir") to Files.createTempDirectory("ewyk")
- baseDir.getAbsolutePath() to baseDir.toString()
- testResourcesDir.getAbsolutePath() to testResourcesDir.toString()
- root.toPath() to root
- root.toPath() to root
- add(root.toPath()) to add(root)
- root.toPath() to root
- journalDirectory.getAbsolutePath() to journalDirectory.toAbsolutePath()
- directory.mkdirs() to Files.exists(directory)
- File.createTempFile("host",".xml",hostConfigFile.getAbsoluteFile().getParentFile()) to Files.createTempFile(hostConfigFile.toPath().getParent(),"host",".xml")
- file.getAbsolutePath() to file.toAbsolutePath().toString()
- jarFile to jarFile.toFile()
- tmpDir to webUiDir.toFile()
- new PathResolver().relativePath(baseDir,dir) to new PathResolver().relativePath(baseDir.toFile(),dir)
- baseDir.getAbsoluteFile() to baseDir.toAbsolutePath().normalize()
- new PathResolver().relativePath(baseDir,new File(path)) to new PathResolver().relativePath(baseDir.toFile(),new File(path))
- dirToIndex.toPath().normalize() to dirToIndex.normalize()
- file to path.toAbsolutePath()
- new DefaultFileSystem(baseDir.toPath()).setEncoding(UTF_8) to new DefaultFileSystem(baseDir).setEncoding(UTF_8)
- baseDir.toPath() to StandardCharsets.UTF_8
- StandardCharsets.UTF_8 to StandardCharsets.UTF_8
- baseDir.toPath() to StandardCharsets.UTF_8
- StandardCharsets.UTF_8 to StandardCharsets.UTF_8
- new TestInputFileBuilder("polop","src/Foo.php").setModuleBaseDir(baseDir.toPath()).setType(InputFile.Type.MAIN).build() to new TestInputFileBuilder("polop","src/Foo.php").setModuleBaseDir(baseDir).setType(InputFile.Type.MAIN).setCharset(StandardCharsets.UTF_8).build()
- FileUtils.byteCountToDisplaySize(FileUtils.sizeOfDirectory(reportDir)) to FileUtils.byteCountToDisplaySize(FileUtils.sizeOfDirectory(reportDir.toFile()))
- reportDir to reportDir.toFile()
- executorService.submit(() -> indexFile(fileSystem,progress,dirOrFile.toPath(),type)) to executorService.submit(() -> indexFile(dirOrFile,type,progress))
- dirOrFile.isDirectory() to dirOrFile.toFile().isDirectory()
- f.getCanonicalPath() to f.toString()
- definition.getWorkDir() to initWorkingDir(definition)
- definition.getBaseDir() to initBaseDir(definition)
- toDir.toPath() to targetDirNormalized
- Optional.of(homeDir) to Optional.of(homeDir.toFile())
- Optional.of(new File(configPath,"neo4j.conf")) to Optional.of(configDir.resolve("neo4j.conf").toFile())
- Optional.of(homeDir) to Optional.of(homeDir.toFile())
- Optional.of(new File(configPath,"neo4j.conf")) to Optional.of(configDir.resolve("neo4j.conf").toFile())
- logFile.delete() to Files.delete(logFile)
- fileSystem.deleteRecursively(storeDir) to FileUtils.deletePathRecursively(storeDir)
- fileSystem.mkdir(storeDir) to Files.createDirectory(storeDir)
- Config.defaults(OnlineBackupSettings.online_backup_enabled,Settings.FALSE) to config
- storeDir to storeDir.toFile()
- factory.newEmbeddedDatabaseBuilder(targetDirectory).setConfig(config).setConfig(OnlineBackupSettings.online_backup_enabled,Settings.FALSE) to factory.newEmbeddedDatabaseBuilder(targetDirectory.toFile()).setConfig(config).setConfig(OnlineBackupSettings.online_backup_enabled,Settings.FALSE)
- toFile to resolve
- loadKernelExtensions() to logs_directory
- fileSystem to targetDirectory.toRealPath().toString()
- pageCache to targetDirectory.toRealPath().toString()
- forensics to targetDirectory.toRealPath().toString()
- monitors to targetDirectory.toRealPath()
- resolver.resolveDependency(PageCache.class) to pageCache
- neoStore to neoStore.toFile()
- String.format("Unable to find a free backup location for the provided %s. Number of iterations %d",file,counter.get()) to noFreeBackupLocation(file,counter)
- orElseThrow to orElseThrow
- destDir to destDir.toFile()
- neoStore to neoStore.toFile()
- allCombinations(stringMap("host",HOST,"port",String.valueOf(PORT),"to",PATH.getAbsolutePath())) to allCombinations(stringMap("host",HOST,"port",String.valueOf(PORT),"to",PATH.toString()))
- PATH.getAbsolutePath() to PATH.toString()
- doFullBackup to doFullBackup
- doFullBackup to doFullBackup
- fileSystem.fileExists(new File(backupDir,StoreUtil.TEMP_COPY_DIRECTORY_NAME)) to Files.exists(backupDir.resolve(StoreUtil.TEMP_COPY_DIRECTORY_NAME))
- backupDir.getAbsoluteFile() to backupDir
- new TestGraphDatabaseFactory().newEmbeddedDatabaseBuilder(backupDir.getAbsoluteFile()).setConfig(OnlineBackupSettings.online_backup_enabled,Settings.FALSE) to new TestGraphDatabaseFactory().newEmbeddedDatabaseBuilder(backupDir.toFile()).setConfig(OnlineBackupSettings.online_backup_enabled,Settings.FALSE)
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- backupDir.getAbsoluteFile() to backupDir
- LogFilesBuilder.logFilesBasedOnlyBuilder(backupDir,fileSystem) to LogFilesBuilder.logFilesBasedOnlyBuilder(backupDir.toFile(),fileSystem)
- LogFilesBuilder.logFilesBasedOnlyBuilder(backupDir,fileSystem) to LogFilesBuilder.logFilesBasedOnlyBuilder(backupDir.toFile(),fileSystem)
- Config.defaults(OnlineBackupSettings.online_backup_enabled,Settings.FALSE) to config
- backupDir to backupDir.toFile()
- String.format("Unable to find a free backup location for the provided %s. Number of iterations %d",file,counter.get()) to noFreeBackupLocation(file,counter)
- orElseThrow to orElseThrow
- targetDirectory.getAbsolutePath() to targetDirectory.toString()
- storeDir to storeDir.toFile()
- targetDirectory.getCanonicalPath() to targetDirectory.toRealPath().toString()
- Cascading Type Change (Different)
- FileResourceManager to PathResourceManager
- FileResourceManager to PathResourceManager
- FileResourceManager to PathResourceManager
- FileResource to PathResource
- FileResource to PathResource
- FileResourceManager to PathResourceManager
- FileResourceManager to PathResourceManager
- FileResourceManager to PathResourceManager
- FileResourceManager to PathResourceManager
- FileResourceManager to PathResourceManager
- FileResourceManager to PathResourceManager
- FileResourceManager to PathResourceManager
- FileResourceManager to PathResourceManager
- FileResourceManager to PathResourceManager
- FileResourceManager to PathResourceManager
- ArrayList<File> to ArrayList<>
- File to Iterable<Path>
- Rename Method invocation
- toPath to getRoot
- assertEquals to assertFalse
- assertFalse to assertEquals
- getPath to toString
- deleteOnExit to toFile
- getTmpDir to getWebUiDir
- getTmpDir to getWebUiDir
- deleteRecursively to deletePathRecursively
- deleteRecursively to deletePathRecursively
- Rename Variable
- f to child
- nameIdMapHolderFile to nameIdMapHolderPath
- nameIdMapHolderFile to nameIdMapHolderPath
- nameIdMapHolderFile to nameIdMapHolderPath
- file to path
- file to path
- file to path
- file to path
- file to path
- file to path
- rootDirectory to statePath
- file to path
- file to path
- file to path
- file to path
- file to path
- file to path
- file to path
- file to path
- file to path
- file to path
- file to folder
- folder to file
- outputDir to bugpatternDir
- file to path
- file to path
- file to path
- tmpDir to webUiDir
- tmpDir to webUiDir
- tmpDir to webUiDir
- tmpDir to webUiDir
- tmpDir to webUiDir
- tmpDir to webUiDir
- tmpDir to webUiDir
- file to moduleBaseDir
- file to moduleBaseDir
- file to moduleBaseDir
- file to path
- toDir to targetDirNormalized
- Update Class Instacne Creation
- new OLogSegment(this,new File(walLocation,getSegmentName(last.getOrder() + 1)),maxPagesCacheSize,fileTTL,segmentBufferSize,new SubScheduledExecutorService(autoFileCloser),new SubScheduledExecutorService(commitExecutor)) to new OLogSegment(this,walLocation.resolve(getSegmentName(last.getOrder() + 1)),maxPagesCacheSize,fileTTL,segmentBufferSize,new SubScheduledExecutorService(autoFileCloser),new SubScheduledExecutorService(commitExecutor))
- new OLogSegment(this,new File(walLocation,getSegmentName(lsn.getSegment() + 1)),maxPagesCacheSize,fileTTL,segmentBufferSize,new SubScheduledExecutorService(autoFileCloser),new SubScheduledExecutorService(commitExecutor)) to new OLogSegment(this,walLocation.resolve(getSegmentName(lsn.getSegment() + 1)),maxPagesCacheSize,fileTTL,segmentBufferSize,new SubScheduledExecutorService(autoFileCloser),new SubScheduledExecutorService(commitExecutor))
- new OLogSegment(this,new File(walLocation,getSegmentName(last.getOrder() + 1)),maxPagesCacheSize,fileTTL,segmentBufferSize,new SubScheduledExecutorService(autoFileCloser),new SubScheduledExecutorService(commitExecutor)) to new OLogSegment(this,walLocation.resolve(getSegmentName(last.getOrder() + 1)),maxPagesCacheSize,fileTTL,segmentBufferSize,new SubScheduledExecutorService(autoFileCloser),new SubScheduledExecutorService(commitExecutor))
- new JettyHomeConfigSource(home.toPath()) to new JettyHomeConfigSource(home)
- new JettyHomeConfigSource(home.toPath()) to new JettyHomeConfigSource(home)
- new JettyBaseConfigSource(base.toPath()) to new JettyBaseConfigSource(base)
- new JettyHomeConfigSource(home.toPath()) to new JettyHomeConfigSource(home)
- new JettyHomeConfigSource(homeDir.toPath()) to new JettyHomeConfigSource(homeDir)
- new JettyBaseConfigSource(base.toPath()) to new JettyBaseConfigSource(base)
- new JettyHomeConfigSource(home.toPath()) to new JettyHomeConfigSource(home)
- new JettyHomeConfigSource(home.toPath()) to new JettyHomeConfigSource(home)
- new JettyBaseConfigSource(base.toPath()) to new JettyBaseConfigSource(base)
- new JettyBaseConfigSource(base.toPath()) to new JettyBaseConfigSource(base)
- new JettyBaseConfigSource(base.toPath()) to new JettyBaseConfigSource(base)
- new JettyBaseConfigSource(baseDir.toPath()) to new JettyBaseConfigSource(baseDir)
- new JettyHomeConfigSource(home.toPath()) to new JettyHomeConfigSource(home)
- new JettyHomeConfigSource(home.toPath()) to new JettyHomeConfigSource(home)
- new JettyBaseConfigSource(baseDir.toPath()) to new JettyBaseConfigSource(baseDir)
- new JettyBaseConfigSource(base.toPath()) to new JettyBaseConfigSource(base)
- new JettyHomeConfigSource(home.toPath()) to new JettyHomeConfigSource(home)
- new JettyHomeConfigSource(homeDir.toPath()) to new JettyHomeConfigSource(homeDir)
- new JettyBaseConfigSource(base.toPath()) to new JettyBaseConfigSource(base)
- new JettyBaseConfigSource(base.toPath()) to new JettyBaseConfigSource(base)
- new JettyBaseConfigSource(base.toPath()) to new JettyBaseConfigSource(base)
- new JettyHomeConfigSource(homeDir.toPath()) to new JettyHomeConfigSource(homeDir)
- new JettyBaseConfigSource(homeDir.toPath()) to new JettyBaseConfigSource(homeDir)
- new JettyHomeConfigSource(home.toPath()) to new JettyHomeConfigSource(home)
- new JettyHomeConfigSource(home.toPath()) to new JettyHomeConfigSource(home)
- new JettyBaseConfigSource(base.toPath()) to new JettyBaseConfigSource(base)
- new JettyHomeConfigSource(home.toPath()) to new JettyHomeConfigSource(home)
- new JettyBaseConfigSource(base.toPath()) to new JettyBaseConfigSource(base)
- new TestServer(directory) to new TestServer(directory.toFile())
- new File(journalDirectory,"graylog2-committed-read-offset") to new File(journalDirectory.toFile(),"graylog2-committed-read-offset")
- new LogManager(new File[]{journalDirectory},Map$.MODULE$.<String,LogConfig>empty(),defaultConfig,cleanerConfig,NUM_IO_THREADS,SECONDS.toMillis(60L),SECONDS.toMillis(60L),SECONDS.toMillis(60L),kafkaScheduler,brokerState,JODA_TIME) to new LogManager(new File[]{journalDirectory.toFile()},Map$.MODULE$.<String,LogConfig>empty(),defaultConfig,cleanerConfig,NUM_IO_THREADS,SECONDS.toMillis(60L),SECONDS.toMillis(60L),SECONDS.toMillis(60L),kafkaScheduler,brokerState,JODA_TIME)
- new ScannerReportWriter(reportDir) to new ScannerReportWriter(reportDir.toFile())
- new SimpleKernelContext(storeDir,DatabaseInfo.UNKNOWN,dependencies) to new SimpleKernelContext(storeDir.toFile(),DatabaseInfo.UNKNOWN,dependencies)
- new SimpleKernelContext(storeDir,DatabaseInfo.UNKNOWN,dependencies) to new SimpleKernelContext(storeDir.toFile(),DatabaseInfo.UNKNOWN,dependencies)
- new ReadOnlyTransactionStore(pageCache,fileSystem,backupDir,Config.defaults(),monitors) to new ReadOnlyTransactionStore(pageCache,fileSystem,backupDir.toFile(),Config.defaults(),monitors)
- Other
- file to file
- PageCache.class to pageCache
- Update argument list (Method invocation)
- Wrap or Un-wrap