Skip to content

Commit

Permalink
(#1065) Rebase with to make build passing
Browse files Browse the repository at this point in the history
  • Loading branch information
igor committed Feb 23, 2019
1 parent a58bf68 commit 6f1be03
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/cactoos/io/TempFolder.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import org.cactoos.Text;
import org.cactoos.scalar.IoCheckedScalar;
import org.cactoos.scalar.StickyScalar;
import org.cactoos.text.JoinedText;
import org.cactoos.text.Joined;
import org.cactoos.text.Randomized;
import org.cactoos.text.TextOf;

Expand All @@ -59,7 +59,7 @@ public final class TempFolder implements Scalar<Path>, Closeable {
*/
public TempFolder() {
this(
new JoinedText(
new Joined(
new TextOf(""),
new TextOf("tmp"),
new Randomized(
Expand Down Expand Up @@ -98,7 +98,7 @@ public TempFolder(final Text path) {
new StickyScalar<>(
() -> Files.createDirectory(
Paths.get(
new JoinedText(
new Joined(
File.separator,
System.getProperty("java.io.tmpdir"),
path.asString()
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/org/cactoos/io/AppendToTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import java.io.File;
import java.nio.charset.StandardCharsets;
import java.nio.file.NoSuchFileException;
import org.cactoos.text.JoinedText;
import org.cactoos.text.Joined;
import org.cactoos.text.Randomized;
import org.junit.Rule;
import org.junit.Test;
Expand Down Expand Up @@ -83,7 +83,7 @@ public void appendsToFile() throws Exception {
new Assertion<>(
"Does not contain expected text",
() -> new InputOf(source),
new InputHasContent(new JoinedText("", first, second))
new InputHasContent(new Joined("", first, second))
).affirm();
}

Expand All @@ -105,7 +105,7 @@ public void appendsUnicodeToFile() throws Exception {
new Assertion<>(
"Can't find expected unicode text content",
() -> new InputOf(source),
new InputHasContent(new JoinedText("", first, second))
new InputHasContent(new Joined("", first, second))
).affirm();
}
}

0 comments on commit 6f1be03

Please sign in to comment.