Skip to content

Commit

Permalink
Merged PathAsInput into InputOf
Browse files Browse the repository at this point in the history
  • Loading branch information
ixmanuel committed Jul 21, 2017
1 parent 1a725ec commit c2ee320
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 65 deletions.
1 change: 0 additions & 1 deletion src/main/java/org/cactoos/Input.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
* @author Fabricio Cabral (fabriciofx@gmail.com)
* @version $Id$
* @see InputOf
* @see org.cactoos.io.PathAsInput
* @since 0.1
*/
public interface Input {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/cactoos/io/InputOf.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
public final class InputOf implements Input {

/**
* Input: PathAsInput.
* Input.
*/
private final Input origin;

Expand Down
61 changes: 0 additions & 61 deletions src/main/java/org/cactoos/io/PathAsInput.java

This file was deleted.

4 changes: 2 additions & 2 deletions src/main/java/org/cactoos/io/TeeInput.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public final class TeeInput implements Input {
* @since 0.5
*/
public TeeInput(final Path input, final Path output) {
this(new PathAsInput(input), new PathAsOutput(output));
this(new InputOf(input), new PathAsOutput(output));
}

/**
Expand All @@ -68,7 +68,7 @@ public TeeInput(final Path input, final Path output) {
* @since 0.5
*/
public TeeInput(final Path input, final File output) {
this(new PathAsInput(input), new FileAsOutput(output));
this(new InputOf(input), new FileAsOutput(output));
}

/**
Expand Down

0 comments on commit c2ee320

Please sign in to comment.