Skip to content

Commit

Permalink
Review: Removed one more @Deprecated workaround
Browse files Browse the repository at this point in the history
This one compensated contractions in `RandomSyntax...Tests` and should now be obsolete.
  • Loading branch information
codecholeric committed Apr 8, 2020
1 parent cd3e3ce commit e37fbf2
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,9 @@ private ExpectedDescription add(String expected) {
return this;
}

// FIXME: Once we remove the deprecated dont-methods, we can remove this special treatment
@Override
public String toString() {
return Joiner.on(" ").join(description)
.replace("dont", "don't");
return Joiner.on(" ").join(description);
}
}

Expand Down Expand Up @@ -601,4 +599,4 @@ public String toString() {
return getClass().getSimpleName() + "{/" + search + "/" + replacement + "/}";
}
}
}
}

0 comments on commit e37fbf2

Please sign in to comment.