Skip to content

Commit

Permalink
yegor256#980: Rename the 'Sync' to 'Synced'
Browse files Browse the repository at this point in the history
  • Loading branch information
dgroup committed Jan 11, 2019
1 parent 5590983 commit 327b41f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
*
* @since 0.18
*/
public final class Sync implements Text {
public final class Synced implements Text {

/**
* The text.
Expand All @@ -48,7 +48,7 @@ public final class Sync implements Text {
* Ctor.
* @param text The text
*/
public Sync(final Text text) {
public Synced(final Text text) {
this(text, text);
}

Expand All @@ -57,7 +57,7 @@ public Sync(final Text text) {
* @param text The text
* @param lck The lock
*/
public Sync(final Text text, final Object lck) {
public Synced(final Text text, final Object lck) {
this.origin = text;
this.lock = lck;
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/cactoos/text/TextOfTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public final class TextOfTest {
public void readsInputIntoText() throws Exception {
MatcherAssert.assertThat(
"Can't read text from Input",
new Sync(
new Synced(
new TextOf(
new InputOf("привет, друг!"),
StandardCharsets.UTF_8
Expand Down

0 comments on commit 327b41f

Please sign in to comment.