Toggle navigation
Home
org.neo4j.test.rule.TargetDirectory to org.neo4j.test.rule.TestDirectory
No. of Instances - 2
No. of Commits - 1
No. of Projects - {'neo4j'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Rename Variable
targetDirectory
to
testDirectory
targetDirectory
to
testDirectory
targetDirectory
to
testDirectory
targetDirectory
to
testDirectory
Cascading Type Change (Similar)
TargetDirectory
to
TestDirectory
Update Anonymous class
{ private final TargetDirectory targetDirectory=new TargetDirectory(new DefaultFileSystemAbstraction(),testClass); private File dbDir; @Override public File root(){ return dbDir; } @Override public void delete() throws IOException { targetDirectory.cleanup(); } @Override public void create(){ dbDir=targetDirectory.makeGraphDbDir(); } }
to
{ private final TestDirectory testDirectory=TestDirectory.testDirectory(testClass,new DefaultFileSystemAbstraction()); private File dbDir; @Override public File root(){ return dbDir; } @Override public void delete() throws IOException { testDirectory.cleanup(); } @Override public void create(){ dbDir=testDirectory.makeGraphDbDir(); } }