Toggle navigation
Home
java.lang.String to java.nio.file.Path
No. of Instances - 4
No. of Commits - 3
No. of Projects - {'jetty.project'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
ShellUtils.execCommand(script)
to
ShellUtils.execCommand(script.toString())
SourceFile.fromCode(path,code)
to
SourceFile.fromCode(path.toString(),code)
path
to
path.toString()
config
to
config.getFileName().toString()
TestCacheManagerFactory.fromXml(major,true,false,false)
to
TestCacheManagerFactory.fromXml(config.toString(),true,false,false)
configurationCheck93(cm)
to
check.check(cm)
configurationCheck92(cm)
to
check.check(cm)
config
to
config.toString()
refactoredPaths.add(diff.getRelevantFileName())
to
refactoredPaths.add(diff.getPath())
Collections.emptySet()
to
sourcePkgUrl
NarClassLoader.getFromArchive(sinkConfig,sourcePkgUrl)
to
SinkConfigUtils.validate(sinkConfig,archivePath,sourcePkgUrl,null)
Collections.emptySet()
to
sourcePkgUrl
NarClassLoader.getFromArchive(sourceConfig,sourcePkgUrl)
to
SourceConfigUtils.validate(sourceConfig,archivePath,sourcePkgUrl,null)
Paths
to
Path.of("build","test-tools")
Paths.get("build","test-tools")
to
Path
jettyHome
to
jettyHome.toString()
jettyBase
to
jettyBase.toString()
testBuilder().sqlQuery("select date_col from table(dfs.`%s` (type => 'parquet', autoCorrectCorruptDates => false))",new Path(getDfsTestTmpSchemaLocation(),PARTITIONED_1_2_FOLDER)).unOrdered()
to
testBuilder().sqlQuery("select date_col from table(dfs.`%s` (type => 'parquet', autoCorrectCorruptDates => false))",PARTITIONED_1_2_FOLDER).unOrdered()
Other
walPath
to
walPath
serverInstance.getDatabaseDirectory()
to
serverInstance.getDatabaseDirectory()
"Unknown configuration version " + version
to
minor
"configs/unified/" + config
to
major
new CacheManagerCallable(TestCacheManagerFactory.fromXml("configs/unified/" + config,true,false,false)){ @Override public void call(){ switch (version) { case 93: configurationCheck93(cm); case 92: configurationCheck92(cm); break; case 91: configurationCheck91(cm); break; case 90: configurationCheck90(cm); break; case 82: configurationCheck82(cm); break; case 81: configurationCheck81(cm); break; case 80: configurationCheck80(cm); break; case 70: case 71: case 72: configurationCheck70(cm); break; default : throw new IllegalArgumentException("Unknown configuration version " + version); } } }
to
minor
vaultSettings.individualMountPath().get()
to
vaultSettings.individualMountPath().get()
vaultSettings.winDriveLetter().get().charAt(0) + ":\\"
to
vaultSettings.winDriveLetter().get().charAt(0) + ":\\"
windowsDriveLetters.getAvailableDriveLetters().iterator().next() + ":\\"
to
windowsDriveLetters.getAvailableDriveLetters().iterator().next() + ":\\"
uri.getPath()
to
uri.getPath()
((JarURLConnection)uri.toURL().openConnection()).getEntryName()
to
((JarURLConnection)uri.toURL().openConnection()).getEntryName()
new File(archivePath)
to
sinkConfig
new File(archivePath)
to
sourceConfig
new File(pathToSourceFile)
to
pathToSourceFile
new File(pathToSourceFile)
to
pathToSourceFile
new File(pathToSourceFile)
to
pathToSourceFile
new File(pathToSourceFile)
to
pathToSourceFile
new Path(getDfsTestTmpSchemaLocation(),MIXED_CORRUPTED_AND_CORRECT_PARTITIONED_FOLDER)
to
MIXED_CORRUPTED_AND_CORRECT_PARTITIONED_FOLDER
new Path(getDfsTestTmpSchemaLocation(),PARTITIONED_1_2_FOLDER)
to
PARTITIONED_1_2_FOLDER
new Path(getDfsTestTmpSchemaLocation(),PARTITIONED_1_2_FOLDER)
to
PARTITIONED_1_2_FOLDER
new Path(getDfsTestTmpSchemaLocation(),PARTITIONED_1_2_FOLDER)
to
PARTITIONED_1_2_FOLDER
Convert Class instance creation to method invocation
File
to
toFile
Cascading Type Change (Similar)
String
to
Path
Rename Variable
dbDirectory
to
dbDirectoryPath
mountPath
to
customMountPoint
getMountPathString
to
getMountPoint
getMountPathString
to
getMountPoint
getFileName
to
getFilePath
getFileName
to
getFilePath
outputLocation
to
outputPath
outputLocation
to
outputPath
getArguments
to
getSelectedClasspathEntries
arguments
to
selectedClasspathEntries
arguments
to
selectedClasspathEntries
arguments
to
selectedClasspathEntries
_config
to
_configPath
_config
to
_configPath
excludesToRemove
to
groupedExcludes
resource
to
file
resource
to
file
resource
to
file
resource
to
file
resource
to
file
absolutePath
to
moduleBaseDir
absolutePath
to
moduleBaseDir
relativePath
to
absolutePath
tablePath
to
tableRelPath
Wrap or Un-wrap
withCacheManager
to
withCacheManager
Update String Literal
", abs="
to
", basedir="
", abs="
to
", basedir="
"dfs.`%s`"
to
"select date_col from dfs.`%s` where date_col = date '1970-01-01'"