diff --git a/src/main/java/org/cactoos/text/Abbreviated.java b/src/main/java/org/cactoos/text/Abbreviated.java
index 536b4a3f0..02f6997e1 100644
--- a/src/main/java/org/cactoos/text/Abbreviated.java
+++ b/src/main/java/org/cactoos/text/Abbreviated.java
@@ -53,9 +53,9 @@ public final class Abbreviated extends TextEnvelope {
*
*
By default, the max line width is 80 characters.
*
- * @param text The Text
+ * @param text The CharSequence
*/
- public Abbreviated(final String text) {
+ public Abbreviated(final CharSequence text) {
this(new TextOf(text));
}
diff --git a/src/main/java/org/cactoos/text/Base64Decoded.java b/src/main/java/org/cactoos/text/Base64Decoded.java
index 5f1f61f46..e34ed6c2a 100644
--- a/src/main/java/org/cactoos/text/Base64Decoded.java
+++ b/src/main/java/org/cactoos/text/Base64Decoded.java
@@ -37,9 +37,9 @@ public final class Base64Decoded extends TextEnvelope {
/**
* Ctor.
*
- * @param input The String
+ * @param input The CharSequence
*/
- public Base64Decoded(final String input) {
+ public Base64Decoded(final CharSequence input) {
this(new TextOf(input));
}
diff --git a/src/main/java/org/cactoos/text/Base64Encoded.java b/src/main/java/org/cactoos/text/Base64Encoded.java
index 05852b6d3..84ac8741a 100644
--- a/src/main/java/org/cactoos/text/Base64Encoded.java
+++ b/src/main/java/org/cactoos/text/Base64Encoded.java
@@ -38,9 +38,9 @@ public final class Base64Encoded extends TextEnvelope {
/**
* Ctor.
*
- * @param input The String
+ * @param input The CharSequence
*/
- public Base64Encoded(final String input) {
+ public Base64Encoded(final CharSequence input) {
this(new TextOf(input));
}
diff --git a/src/main/java/org/cactoos/text/Capitalized.java b/src/main/java/org/cactoos/text/Capitalized.java
index 00042e832..dcadd6cf6 100644
--- a/src/main/java/org/cactoos/text/Capitalized.java
+++ b/src/main/java/org/cactoos/text/Capitalized.java
@@ -42,7 +42,7 @@ public final class Capitalized extends TextEnvelope {
*
* @param text The text
*/
- public Capitalized(final String text) {
+ public Capitalized(final CharSequence text) {
this(new TextOf(text));
}
diff --git a/src/main/java/org/cactoos/text/Concatenated.java b/src/main/java/org/cactoos/text/Concatenated.java
index 562547d53..f0ceab96b 100644
--- a/src/main/java/org/cactoos/text/Concatenated.java
+++ b/src/main/java/org/cactoos/text/Concatenated.java
@@ -46,9 +46,9 @@ public Concatenated(final Text... txts) {
/**
* Ctor.
- * @param strs Strings to be concatenated
+ * @param strs CharSequences to be concatenated
*/
- public Concatenated(final String... strs) {
+ public Concatenated(final CharSequence... strs) {
this(
new Mapped<>(
TextOf::new,
diff --git a/src/main/java/org/cactoos/text/Contains.java b/src/main/java/org/cactoos/text/Contains.java
index 92a36a5bb..a096a1f76 100644
--- a/src/main/java/org/cactoos/text/Contains.java
+++ b/src/main/java/org/cactoos/text/Contains.java
@@ -48,7 +48,7 @@ public final class Contains implements Scalar {
* @param origin The origin
* @param other The other
*/
- public Contains(final String origin, final String other) {
+ public Contains(final CharSequence origin, final CharSequence other) {
this(new TextOf(origin), new TextOf(other));
}
@@ -57,7 +57,7 @@ public Contains(final String origin, final String other) {
* @param origin The origin
* @param other The other
*/
- public Contains(final String origin, final Text other) {
+ public Contains(final CharSequence origin, final Text other) {
this(new TextOf(origin), other);
}
diff --git a/src/main/java/org/cactoos/text/EndsWith.java b/src/main/java/org/cactoos/text/EndsWith.java
index a9da4705a..1b3376c5b 100644
--- a/src/main/java/org/cactoos/text/EndsWith.java
+++ b/src/main/java/org/cactoos/text/EndsWith.java
@@ -48,7 +48,7 @@ public final class EndsWith implements Scalar {
* @param origin The origin
* @param suffix The suffix
*/
- public EndsWith(final Text origin, final String suffix) {
+ public EndsWith(final Text origin, final CharSequence suffix) {
this(origin, new TextOf(suffix));
}
diff --git a/src/main/java/org/cactoos/text/FormattedText.java b/src/main/java/org/cactoos/text/FormattedText.java
index 293aa6244..64be149d5 100644
--- a/src/main/java/org/cactoos/text/FormattedText.java
+++ b/src/main/java/org/cactoos/text/FormattedText.java
@@ -94,7 +94,7 @@ public FormattedText(
* @param ptn Pattern
* @param arguments Arguments
*/
- public FormattedText(final String ptn, final Collection