Mapping Summary for ('java.nio.file.Path', 'java.io.File')

Match Replace Instances isVeryGood isGood isChange Relevant Instances Commits Project Link
new FileUserRepository(:[TCIVar],NullLogProvider.getInstance()) new FileUserRepository(fs,:[TCIVar],logProvider) 7 False False True 7 ['a92a13608f96ffa565197d63652ebf14be035737'] ['neo4j'] Link
Files.exists(:[TCIVar],:[v0]) Files.exists(:[TCIVar].toPath(),:[v0]) 1 False False True 1 ['124c16c8129bcdfa0fb45703d9504a34f23bd140'] ['bazel'] Link
:[TCIVar].toAbsolutePath() :[TCIVar] 1 False False True 1 ['7a78d00545ddd26d2147f58a100b1f8db689fbf3'] ['flink'] Link
Paths.get(:[v0].homeDir().getPath()) :[v0].storeDir() 1 False False True 1 ['615656da6247c9f10cd5ed8a9c169411d5df432d'] ['neo4j'] Link
FileUtils.deletePathRecursively(:[TCIVar]) FileUtils.deleteRecursively(:[TCIVar]) 1 False False True 1 ['9219962660db8fb6ac94b0f4abef8ace764698ac'] ['neo4j'] Link
:[TCIVar] :[TCIVar].getName() 1 False False True 1 ['c3ee11db9a5c1f6cbf3d4b1a5de11f2c6562ac37'] ['Koloboke'] Link
:[TCIVar].endsWith(:[v1]) FilesKt.endsWith(:[TCIVar],new File(:[v1])) 1 False False True 1 ['c3ee11db9a5c1f6cbf3d4b1a5de11f2c6562ac37'] ['Koloboke'] Link
Files.write(:[TCIVar],:[v1]) FileRepositorySerializer.writeToFile(fs,:[TCIVar],:[v1]) 1 False False True 1 ['a92a13608f96ffa565197d63652ebf14be035737'] ['neo4j'] Link
Paths.get(OS.TARGET,getClass().getSimpleName() + STR0 + System.nanoTime()) Utils.tempDir(STR1) 7 False False True 7 ['c3aeb5b4086d04e2109779be9933ce8aeec3969f'] ['Chronicle-Queue'] Link
:[TCIVar]=:[v2].directory(:[v1]).toPath() :[TCIVar]=:[v2].storeDir(:[v1]) 1 False False True 1 ['206e367aa6f54ede1d72a8ad0530a7a158e1e457'] ['neo4j'] Link
:[TCIVar].toAbsolutePath().toString() :[TCIVar].getAbsolutePath() 1 False False True 1 ['7a78d00545ddd26d2147f58a100b1f8db689fbf3'] ['flink'] Link
:[v0].loadRecordsFromFile(:[TCIVar]) :[v0].loadRecordsFromFile(fileSystem,:[TCIVar]) 2 False False True 2 ['a92a13608f96ffa565197d63652ebf14be035737'] ['neo4j'] Link
:[TCIVar].toAbsolutePath() :[TCIVar].getAbsolutePath() 3 False False True 3 ['a92a13608f96ffa565197d63652ebf14be035737'] ['neo4j'] Link
new FileRoleRepository(:[TCIVar],NullLogProvider.getInstance()) new FileRoleRepository(fs,:[TCIVar],logProvider) 1 False False True 1 ['a92a13608f96ffa565197d63652ebf14be035737'] ['neo4j'] Link
:[v0].toPath() :[v0] 1 False False True 1 ['7acf464f63cf577c61e0ccf5b8a0114243452e79'] ['neo4j'] Link
:[TCIVar].toFile() :[TCIVar] 10 True True True 10 ['7a78d00545ddd26d2147f58a100b1f8db689fbf3', '206e367aa6f54ede1d72a8ad0530a7a158e1e457', '9f7610542bc08c723c438b33c901d412cc47d601', '9219962660db8fb6ac94b0f4abef8ace764698ac'] ['flink', 'neo4j'] Link
new FileUserRepository(:[TCIVar],:[v1]) new FileUserRepository(fs,:[TCIVar],:[v1]) 1 False False True 1 ['a92a13608f96ffa565197d63652ebf14be035737'] ['neo4j'] Link
:[v0].moveToDirectory(:[TCIVar].toFile(),:[v2]) :[v0].moveToDirectory(:[TCIVar],:[v2]) 1 False False True 1 ['9f7610542bc08c723c438b33c901d412cc47d601'] ['neo4j'] Link
new GraphDatabaseFactory().newEmbeddedDatabaseBuilder(:[TCIVar].toFile()).newGraphDatabase() new GraphDatabaseFactory().newEmbeddedDatabaseBuilder(:[TCIVar]).newGraphDatabase() 1 False False True 1 ['9219962660db8fb6ac94b0f4abef8ace764698ac'] ['neo4j'] Link
:[v0].saveRecordsToFile(:[TCIVar],:[v2]) :[v0].saveRecordsToFile(fileSystem,:[TCIVar],:[v2]) 2 False False True 2 ['a92a13608f96ffa565197d63652ebf14be035737'] ['neo4j'] Link
Generator.currentSourceFile() Generator.Companion.currentSourceFile() 1 False False True 1 ['c3ee11db9a5c1f6cbf3d4b1a5de11f2c6562ac37'] ['Koloboke'] Link
:[v1].directory(:[v0]).toPath() :[v1].storeDir(:[v0]) 1 False False True 1 ['206e367aa6f54ede1d72a8ad0530a7a158e1e457'] ['neo4j'] Link
:[TCIVar] :[TCIVar].toPath() 5 True True True 5 ['124c16c8129bcdfa0fb45703d9504a34f23bd140', '9e13af6b4acb1e3a5505bed75053a2be05299a88', '7acf464f63cf577c61e0ccf5b8a0114243452e79'] ['flink', 'bazel', 'neo4j'] Link
newTemporaryFile().toPath() temporaryFolder.newFile(STR0) 2 False False True 2 ['20c8ada3899fe7a40985f935a08578d2a9cf906f'] ['graylog2-server'] Link
Paths.get(:[v0],:[v1]) new File(:[v0],:[v1]) 3 False False True 3 ['7a78d00545ddd26d2147f58a100b1f8db689fbf3'] ['flink'] Link
:[[v0]].getHighestLogFile() :[v0].getLogFile().getHighestLogFile().toFile() 7 False False True 7 ['9f7610542bc08c723c438b33c901d412cc47d601'] ['neo4j'] Link
:[v0].copyToDirectory(:[TCIVar].toFile(),:[v2]) :[v0].copyToDirectory(:[TCIVar],:[v2]) 1 False False True 1 ['9f7610542bc08c723c438b33c901d412cc47d601'] ['neo4j'] Link
:[TCIVar]=getStorePath() :[TCIVar]=prepareStoreDir() 1 False False True 1 ['9219962660db8fb6ac94b0f4abef8ace764698ac'] ['neo4j'] Link
Files.exists(:[TCIVar]) fileSystem.fileExists(:[TCIVar]) 2 False False True 2 ['a92a13608f96ffa565197d63652ebf14be035737'] ['neo4j'] Link
:[v0].newEmbeddedDatabaseBuilder(:[TCIVar].toFile()) :[v0].newEmbeddedDatabaseBuilder(:[TCIVar]) 2 False True True 2 ['206e367aa6f54ede1d72a8ad0530a7a158e1e457', '9219962660db8fb6ac94b0f4abef8ace764698ac'] ['neo4j'] Link