config.add(new JettyBaseConfigSource(homeDir.toPath())); | config.add(new JettyBaseConfigSource(homeDir)); | homeDir.toPath() | homeDir | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.fileinits.MavenLocalRepoFileInitializerTest | | | | | | Uses | True |
config.add(new JettyHomeConfigSource(homeDir.toPath())); | config.add(new JettyHomeConfigSource(homeDir)); | homeDir.toPath() | homeDir | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.fileinits.MavenLocalRepoFileInitializerTest | | | | | | Uses | True |
sources.add(new JettyBaseConfigSource(base.toPath())); | sources.add(new JettyBaseConfigSource(base)); | base.toPath() | base | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyHomeConfigSource(home.toPath())); | sources.add(new JettyHomeConfigSource(home)); | home.toPath() | home | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyBaseConfigSource(base.toPath())); | sources.add(new JettyBaseConfigSource(base)); | base.toPath() | base | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyHomeConfigSource(home.toPath())); | sources.add(new JettyHomeConfigSource(home)); | home.toPath() | home | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyBaseConfigSource(base.toPath())); | sources.add(new JettyBaseConfigSource(base)); | base.toPath() | base | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyHomeConfigSource(home.toPath())); | sources.add(new JettyHomeConfigSource(home)); | home.toPath() | home | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyBaseConfigSource(base.toPath())); | sources.add(new JettyBaseConfigSource(base)); | base.toPath() | base | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyHomeConfigSource(home.toPath())); | sources.add(new JettyHomeConfigSource(home)); | home.toPath() | home | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyBaseConfigSource(base.toPath())); | sources.add(new JettyBaseConfigSource(base)); | base.toPath() | base | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyHomeConfigSource(home.toPath())); | sources.add(new JettyHomeConfigSource(home)); | home.toPath() | home | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyBaseConfigSource(base.toPath())); | sources.add(new JettyBaseConfigSource(base)); | base.toPath() | base | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyHomeConfigSource(home.toPath())); | sources.add(new JettyHomeConfigSource(home)); | home.toPath() | home | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyBaseConfigSource(base.toPath())); | sources.add(new JettyBaseConfigSource(base)); | base.toPath() | base | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyHomeConfigSource(home.toPath())); | sources.add(new JettyHomeConfigSource(home)); | home.toPath() | home | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyBaseConfigSource(base.toPath())); | sources.add(new JettyBaseConfigSource(base)); | base.toPath() | base | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyHomeConfigSource(home.toPath())); | sources.add(new JettyHomeConfigSource(home)); | home.toPath() | home | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyBaseConfigSource(base.toPath())); | sources.add(new JettyBaseConfigSource(base)); | base.toPath() | base | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyHomeConfigSource(home.toPath())); | sources.add(new JettyHomeConfigSource(home)); | home.toPath() | home | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyBaseConfigSource(base.toPath())); | sources.add(new JettyBaseConfigSource(base)); | base.toPath() | base | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyHomeConfigSource(home.toPath())); | sources.add(new JettyHomeConfigSource(home)); | home.toPath() | home | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyBaseConfigSource(base.toPath().toRealPath())); | sources.add(new JettyBaseConfigSource(base.toRealPath())); | base.toPath() | base | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyHomeConfigSource(home.toPath().toRealPath())); | sources.add(new JettyHomeConfigSource(home.toRealPath())); | home.toPath() | home | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyBaseConfigSource(base.toPath())); | sources.add(new JettyBaseConfigSource(base)); | base.toPath() | base | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
sources.add(new JettyHomeConfigSource(home.toPath())); | sources.add(new JettyHomeConfigSource(home)); | home.toPath() | home | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.config.ConfigSourcesTest | | | | | | Uses | True |
config.add(new JettyBaseConfigSource(baseDir.toPath())); | config.add(new JettyBaseConfigSource(baseDir)); | baseDir.toPath() | baseDir | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.ModuleTest | | | | | | Uses | True |
config.add(new JettyHomeConfigSource(homeDir.toPath())); | config.add(new JettyHomeConfigSource(homeDir)); | homeDir.toPath() | homeDir | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.ModuleTest | | | | | | Uses | True |
config.add(new JettyBaseConfigSource(baseDir.toPath())); | config.add(new JettyBaseConfigSource(baseDir)); | baseDir.toPath() | baseDir | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.ModuleGraphWriterTest | | | | | | Uses | True |
config.add(new JettyHomeConfigSource(homeDir.toPath())); | config.add(new JettyHomeConfigSource(homeDir)); | homeDir.toPath() | homeDir | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.ModuleGraphWriterTest | | | | | | Uses | True |
FS.exists(file.toPath()); | FS.exists(file); | file.toPath() | file | jetty.project | 9a8f22d5dd6f5896c7e91b45bf8b5f13b0b5f2a7 | org.eclipse.jetty.start.LicensingTest | | | | | | Uses | True |
try(OutputStream stream=new BufferedOutputStream(java.nio.file.Files.newOutputStream(jarFile.toPath())); CustomZipOutputStream out=ZipOutputStreams.newOutputStream(stream,ZipOutputStreams.HandleDuplicates.THROW_EXCEPTION,clock)) | try(OutputStream stream=new BufferedOutputStream(java.nio.file.Files.newOutputStream(jarFile)); CustomZipOutputStream out=ZipOutputStreams.newOutputStream(stream,ZipOutputStreams.HandleDuplicates.THROW_EXCEPTION,clock)) | jarFile.toPath() | jarFile | buck | 661486f09e05531e1fa2310a9b356c59bab8f00d | com.facebook.buck.jvm.java.autodeps.PrebuiltJarSymbolsFinderTest | | | | | | Uses | True |
Map<Path,HashCode> pathsToHashes=ImmutableMap.of(jarFile.toPath(),HashCode.fromString(Strings.repeat(STR0,10))); | Map<Path,HashCode> pathsToHashes=ImmutableMap.of(jarFile,HashCode.fromString(Strings.repeat(STR0,10))); | jarFile.toPath() | jarFile | buck | 661486f09e05531e1fa2310a9b356c59bab8f00d | com.facebook.buck.jvm.java.autodeps.PrebuiltJarSymbolsFinderTest | | | | | | Uses | True |
assertEquals(STR0,ImmutableSet.of(Paths.get(STR1),Paths.get(STR2),Paths.get(STR3)),MorePaths.filterForSubpaths(paths,root.toPath())); | assertEquals(STR0,ImmutableSet.of(Paths.get(STR1),Paths.get(STR2),Paths.get(STR3)),MorePaths.filterForSubpaths(paths,root)); | root.toPath() | root | buck | 661486f09e05531e1fa2310a9b356c59bab8f00d | com.facebook.buck.io.MorePathsTest | | | | | | Uses | True |
List<Messages.Envelope> actual=readAllMessages(outputNdjson.toPath()); | List<Messages.Envelope> actual=readAllMessages(outputNdjson); | outputNdjson.toPath() | outputNdjson | cucumber-jvm | 47e27a712ecf786574ecb08ff6b17fdc9a531928 | io.cucumber.compatibility.CompatibilityTest | | _1 | outputNdjson |
---|
_2 | outputNdjson |
---|
| | | | Uses | True |
AbstractIndexPartition indexPartition=partitionFactory.createPartition(partitionFolder.toPath(),directory); | AbstractIndexPartition indexPartition=partitionFactory.createPartition(partitionFolder,directory); | partitionFolder.toPath() | partitionFolder | neo4j | 152d3f630f13649f74f3a7a7f97dfd07773fc3ef | org.neo4j.kernel.api.impl.index.AbstractLuceneIndex | | _1 | partitionFolder |
---|
_2 | partitionFolder |
---|
| | | | Uses | True |
return Iterators.asResourceIterator(Iterators.iterator(storeFile.toPath())); | return Iterators.asResourceIterator(Iterators.iterator(storeFile)); | storeFile.toPath() | storeFile | neo4j | 152d3f630f13649f74f3a7a7f97dfd07773fc3ef | org.neo4j.internal.index.label.NativeTokenScanStore | | | | | | Uses | True |
ZipUtils.unzipResource(getClass(),zipName,storeFile.toPath()); | ZipUtils.unzipResource(getClass(),zipName,storeFile); | storeFile.toPath() | storeFile | neo4j | 152d3f630f13649f74f3a7a7f97dfd07773fc3ef | org.neo4j.index.internal.gbptree.GBPTreeBootstrapperTest | | | | | | Uses | True |
Log4jLogProvider reportLogProvider=new Log4jLogProvider(LogConfig.createBuilder(reportFile.toPath(),Level.INFO).createOnDemand().withCategory(false).build()); | Log4jLogProvider reportLogProvider=new Log4jLogProvider(LogConfig.createBuilder(reportFile,Level.INFO).createOnDemand().withCategory(false).build()); | reportFile.toPath() | reportFile | neo4j | 152d3f630f13649f74f3a7a7f97dfd07773fc3ef | org.neo4j.consistency.ConsistencyCheckService | | | | | | Uses | True |
Config config=Config.newBuilder().fromConfig(allowMigrateConfig).set(neo4j_home,testDirectory.homePath()).set(GraphDatabaseSettings.transaction_logs_root_path,txRoot.toPath().toAbsolutePath()).set(default_database,databaseLayout.getDatabaseName()).build(); | Config config=Config.newBuilder().fromConfig(allowMigrateConfig).set(neo4j_home,testDirectory.homePath()).set(GraphDatabaseSettings.transaction_logs_root_path,txRoot.toAbsolutePath()).set(default_database,databaseLayout.getDatabaseName()).build(); | txRoot.toPath() | txRoot | neo4j | 152d3f630f13649f74f3a7a7f97dfd07773fc3ef | org.neo4j.kernel.impl.storemigration.StoreUpgraderTest | | | | | | Uses | True |
assertThat(Files.readString(reportFile.toPath())).as(STR0).contains(STR1).contains(STR2); | assertThat(Files.readString(reportFile)).as(STR0).contains(STR1).contains(STR2); | reportFile.toPath() | reportFile | neo4j | 152d3f630f13649f74f3a7a7f97dfd07773fc3ef | org.neo4j.consistency.ConsistencyCheckServiceIntegrationTest | | | | | | Uses | True |
assertThat(Files.readString(reportFile.toPath())).as(STR0).contains(STR1); | assertThat(Files.readString(reportFile)).as(STR0).contains(STR1); | reportFile.toPath() | reportFile | neo4j | 152d3f630f13649f74f3a7a7f97dfd07773fc3ef | org.neo4j.consistency.ConsistencyCheckServiceIntegrationTest | | | | | | Uses | True |
indexDirectory(fileSystem,progress,dirOrFile.toPath(),type); | indexDirectory(dirOrFile,type,progress); | dirOrFile.toPath() | dirOrFile | sonarqube | 75e47ba5a19b3d4ab901d2ed7a180714b141d580 | org.sonar.scanner.scan.filesystem.FileIndexer | | | | | | Uses | True |
scanner.watch(war.toPath()); | scanner.watch(war); | war.toPath() | war | jetty.project | 67343c5e0ff2415682fa60d36b0cf0f66196c285 | org.eclipse.jetty.maven.plugin.NewJettyRunWarMojo | | | | | | Uses | True |
fs=new DefaultFileSystem(baseDir.toPath()).setEncoding(UTF_8); | fs=new DefaultFileSystem(baseDir).setEncoding(UTF_8); | baseDir.toPath() | baseDir | sonarqube | 29bcb44528a2bf2d1ac7aa7715f38f5164e498aa | org.sonar.scanner.issue.ignore.scanner.IssueExclusionsLoaderTest | | | | | | Uses | True |
if(Files.isReadable(extension.toPath())) | if(Files.isReadable(extension)) | extension.toPath() | extension | swagger2markup | b9727c9275ab808e200be254551a0f353dfe46e0 | io.github.robwin.swagger2markup.extension.repository.DynamicSecurityContentExtension | | | | | | Uses | True |
if(Files.isReadable(extension.toPath())) | if(Files.isReadable(extension)) | extension.toPath() | extension | swagger2markup | b9727c9275ab808e200be254551a0f353dfe46e0 | io.github.robwin.swagger2markup.extension.repository.DynamicOverviewContentExtension | | | | | | Uses | True |
if(Files.isReadable(extension.toPath())) | if(Files.isReadable(extension)) | extension.toPath() | extension | swagger2markup | b9727c9275ab808e200be254551a0f353dfe46e0 | io.github.robwin.swagger2markup.extension.repository.DynamicOperationsContentExtension | | | | | | Uses | True |
if(Files.isReadable(extension.toPath())) | if(Files.isReadable(extension)) | extension.toPath() | extension | swagger2markup | b9727c9275ab808e200be254551a0f353dfe46e0 | io.github.robwin.swagger2markup.extension.repository.DynamicDefinitionsContentExtension | | | | | | Uses | True |
verifyInsideTargetDirectory(entry,to.toPath(),toDir.toPath()); | verifyInsideTargetDirectory(entry,to.toPath(),targetDirNormalized); | toDir.toPath() | toDir | sonarqube | 9c10956d8a65e1e3a851691d69cee367ac4e0869 | org.sonar.api.utils.ZipUtils | | _1 | toDir |
---|
_2 | targetDirNormalized |
---|
| | | | Uses | True |
try(FileChannel source=FileChannel.open(file.toPath(),StandardOpenOption.READ)) | try(FileChannel source=FileChannel.open(file,StandardOpenOption.READ)) | file.toPath() | file | spring-framework | 1e5f8cc2321d0f466cfb3133d169781c480ab3c7 | org.springframework.http.server.reactive.UndertowServerHttpResponse | | | | | | Uses | True |
this.response.sendFile(file.toPath(),position,count).then() | this.response.sendFile(file,position,count).then() | file.toPath() | file | spring-framework | 1e5f8cc2321d0f466cfb3133d169781c480ab3c7 | org.springframework.http.server.reactive.ReactorServerHttpResponse | | | | | | Uses | True |
output=FileChannel.open(destination.toPath(),FILE_CHANNEL_OPTIONS); | output=FileChannel.open(dest,FILE_CHANNEL_OPTIONS); | destination.toPath() | destination | spring-framework | 1e5f8cc2321d0f466cfb3133d169781c480ab3c7 | org.springframework.http.codec.multipart.SynchronossPartHttpMessageReader.SynchronossFilePart | | | | | | Uses | True |
this.outbound.sendFile(file.toPath(),position,count).then() | this.outbound.sendFile(file,position,count).then() | file.toPath() | file | spring-framework | 1e5f8cc2321d0f466cfb3133d169781c480ab3c7 | org.springframework.http.client.reactive.ReactorClientHttpRequest | | | | | | Uses | True |
Files.createDirectories(reportsDir.toPath()); | Files.createDirectories(reportsDir); | reportsDir.toPath() | reportsDir | junit5 | 403115a6d6026d5724e3d5323474aa56f1613944 | org.junit.gen5.console.tasks.XmlReportsWritingListener | | | | | | Uses | True |
Files.copy(content,fileDataset.toPath(),StandardCopyOption.REPLACE_EXISTING); | Files.copy(content,fileDataset,StandardCopyOption.REPLACE_EXISTING); | fileDataset.toPath() | fileDataset | camel | 20d531fac30d2a3e89d4b588e4dc37a97d6b1e5d | org.apache.camel.component.dataset.FileDataSetProducerWithSplitTest | | _1 | fileDataset |
---|
_2 | fileDataset |
---|
| | | | Uses | True |
Files.copy(new ByteArrayInputStream(testPayload.getBytes()),fileDataset.toPath(),StandardCopyOption.REPLACE_EXISTING); | Files.copy(new ByteArrayInputStream(testPayload.getBytes()),fileDataset,StandardCopyOption.REPLACE_EXISTING); | fileDataset.toPath() | fileDataset | camel | 20d531fac30d2a3e89d4b588e4dc37a97d6b1e5d | org.apache.camel.component.dataset.FileDataSetProducerTest | | _1 | fileDataset |
---|
_2 | fileDataset |
---|
| | | | Uses | True |
Directory index=FSDirectory.open(tmpDir.toPath()); | Directory index=FSDirectory.open(tmpDir); | tmpDir.toPath() | tmpDir | crate | 903ae6e6ce10f76dfb9047c15fc27321f38417e9 | io.crate.operation.collect.collectors.OrderedDocCollectorTest | | | | | | Uses | True |
IOUtils.rm(indexLocation.toPath()); | IOUtils.rm(indexLocation); | indexLocation.toPath() | indexLocation | crate | 0f5e86411c9a9f30d3067b90845c8157735fa39b | io.crate.blob.v2.BlobIndicesService | | _1 | indexLocation |
---|
_2 | indexLocation |
---|
| | | | Uses | True |
assertEquals(javac.toPath(),((ExternalJavac)javacOptions.getJavac()).getPath()); | assertEquals(javac,((ExternalJavac)javacOptions.getJavac()).getPath()); | javac.toPath() | javac | buck | 831519278276c068838c52e9b64a0b8d736d5a2a | com.facebook.buck.jvm.java.JavaBuckConfigTest | | | | | | Uses | True |
Reader reader=new StringReader(Joiner.on('\n').join(STR0,STR1 + javac.toPath().toString())); | Reader reader=new StringReader(Joiner.on('\n').join(STR0,STR1 + javac.toString())); | javac.toPath() | javac | buck | 831519278276c068838c52e9b64a0b8d736d5a2a | com.facebook.buck.jvm.java.JavaBuckConfigTest | | | | | | Uses | True |
assertEquals(Optional.of(javac.toPath()),config.getJavacPath()); | assertEquals(Optional.of(javac),config.getJavacPath()); | javac.toPath() | javac | buck | 831519278276c068838c52e9b64a0b8d736d5a2a | com.facebook.buck.jvm.java.JavaBuckConfigTest | | | | | | Uses | True |
Reader reader=new StringReader(Joiner.on('\n').join(STR0,STR1 + javac.toPath().toString().replace(STR2,STR3))); | Reader reader=new StringReader(Joiner.on('\n').join(STR0,STR1 + javac.toString().replace(STR2,STR3))); | javac.toPath() | javac | buck | 831519278276c068838c52e9b64a0b8d736d5a2a | com.facebook.buck.jvm.java.JavaBuckConfigTest | | | | | | Uses | True |
assertEquals(Optional.of(java.toPath()),options.getJavaPath()); | assertEquals(Optional.of(java),options.getJavaPath()); | java.toPath() | java | buck | 831519278276c068838c52e9b64a0b8d736d5a2a | com.facebook.buck.jvm.java.JavaBuckConfigTest | | | | | | Uses | True |
String javaCommand=java.toPath().toString(); | String javaCommand=java.toString(); | java.toPath() | java | buck | 831519278276c068838c52e9b64a0b8d736d5a2a | com.facebook.buck.jvm.java.JavaBuckConfigTest | | | | | | Uses | True |