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 theStringspecified in the constructor to theStringpassed as argument.- Parameters:
s- the targetString.- Returns:
- a
Stringcontaining the targetStringwith the givenStringto append added to the end.
-