Package org.assertj.core.util
Class Strings.StringToAppend
java.lang.Object
org.assertj.core.util.Strings.StringToAppend
- Enclosing class:
- Strings
Knows how to append a given
String
to the given target, only if the target does not end with the given
String
to append.-
Method Summary
-
Method Details
-
to
Appends theString
specified in the constructor to theString
passed as argument.- Parameters:
s
- the targetString
.- Returns:
- a
String
containing the targetString
with the givenString
to append added to the end.
-