Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
phughk committed Jan 30, 2018
1 parent 982f3d2 commit 06f3adf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Expand Up @@ -202,7 +202,7 @@ public String[] resolveArgs( File targetLocation ) throws IOException
private OutsideWorld resolveOutsideWorld()
{
Optional<OutputStream> output = Optional.ofNullable( this.output );
return new ParametrisedOutsideWorld(
return new ParameterisedOutsideWorld(
System.console(), output.orElse( System.out ),
output.orElse( System.err ),
System.in, new DefaultFileSystemAbstraction() );
Expand Down
Expand Up @@ -32,7 +32,7 @@
/**
* An outside world where you can pick and choose which input/output are dummies.
*/
public class ParametrisedOutsideWorld implements OutsideWorld
public class ParameterisedOutsideWorld implements OutsideWorld
{

private final PrintStream stdout;
Expand All @@ -41,7 +41,7 @@ public class ParametrisedOutsideWorld implements OutsideWorld
private final InputStream stdin;
private final FileSystemAbstraction fileSystemAbstraction;

public ParametrisedOutsideWorld( Console console, OutputStream stdout, OutputStream stderr, InputStream stdin, FileSystemAbstraction fileSystemAbstraction )
public ParameterisedOutsideWorld( Console console, OutputStream stdout, OutputStream stderr, InputStream stdin, FileSystemAbstraction fileSystemAbstraction )
{
this.stdout = new PrintStream( stdout );
this.stderr = new PrintStream( stderr );
Expand Down
Expand Up @@ -31,8 +31,7 @@
import java.util.List;

import org.neo4j.backup.impl.BackupHelpOutput;
import org.neo4j.backup.impl.OnlineBackupCommandProvider;
import org.neo4j.backup.impl.ParametrisedOutsideWorld;
import org.neo4j.backup.impl.ParameterisedOutsideWorld;
import org.neo4j.io.fs.DefaultFileSystemAbstraction;
import org.neo4j.test.rule.SuppressOutput;

Expand Down Expand Up @@ -97,8 +96,8 @@ private String runBackup( String... args ) throws UnsupportedEncodingException

private String runBackup( boolean debug, String... args ) throws UnsupportedEncodingException
{
ParametrisedOutsideWorld outsideWorld = // ParametrisedOutsideWorld used for suppressing #close() doing System.exit()
new ParametrisedOutsideWorld( System.console(), System.out, System.err, System.in, new DefaultFileSystemAbstraction() );
ParameterisedOutsideWorld outsideWorld = // ParameterisedOutsideWorld used for suppressing #close() doing System.exit()
new ParameterisedOutsideWorld( System.console(), System.out, System.err, System.in, new DefaultFileSystemAbstraction() );
AdminTool subject = new AdminTool( commandLocator, cmd -> new ArrayList<>( ), outsideWorld, debug );
Path homeDir = HERE;
Path configDir = HERE;
Expand Down

0 comments on commit 06f3adf

Please sign in to comment.