Skip to content

Commit

Permalink
#255: more ctors
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jun 28, 2017
1 parent ca0ceb1 commit 0b97734
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/org/cactoos/io/InputWithFallback.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ public final class InputWithFallback implements Input {
*/
private final IoCheckedFunc<IOException, Input> alternative;

/**
* Ctor.
* @param input Main input
*/
public InputWithFallback(final Input input) {
this(input, new DeadInput());
}

/**
* Ctor.
* @param input Main input
Expand Down

0 comments on commit 0b97734

Please sign in to comment.