Merge pull request #413 from machaval/patch-1
Fix javadoc in wrapIfMissing
This commit is contained in:
commit
7b272ca247
|
@ -9229,16 +9229,16 @@ public class StringUtils {
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* StringUtils.wrap(null, *) = null
|
* StringUtils.wrapIfMissing(null, *) = null
|
||||||
* StringUtils.wrap("", *) = ""
|
* StringUtils.wrapIfMissing("", *) = ""
|
||||||
* StringUtils.wrap("ab", '\0') = "ab"
|
* StringUtils.wrapIfMissing("ab", '\0') = "ab"
|
||||||
* StringUtils.wrap("ab", 'x') = "xabx"
|
* StringUtils.wrapIfMissing("ab", 'x') = "xabx"
|
||||||
* StringUtils.wrap("ab", '\'') = "'ab'"
|
* StringUtils.wrapIfMissing("ab", '\'') = "'ab'"
|
||||||
* StringUtils.wrap("\"ab\"", '\"') = "\"ab\""
|
* StringUtils.wrapIfMissing("\"ab\"", '\"') = "\"ab\""
|
||||||
* StringUtils.wrap("/", '/') = "/"
|
* StringUtils.wrapIfMissing("/", '/') = "/"
|
||||||
* StringUtils.wrap("a/b/c", '/') = "/a/b/c/"
|
* StringUtils.wrapIfMissing("a/b/c", '/') = "/a/b/c/"
|
||||||
* StringUtils.wrap("/a/b/c", '/') = "/a/b/c/"
|
* StringUtils.wrapIfMissing("/a/b/c", '/') = "/a/b/c/"
|
||||||
* StringUtils.wrap("a/b/c/", '/') = "/a/b/c/"
|
* StringUtils.wrapIfMissing("a/b/c/", '/') = "/a/b/c/"
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @param str
|
* @param str
|
||||||
|
@ -9269,20 +9269,20 @@ public class StringUtils {
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* StringUtils.wrap(null, *) = null
|
* StringUtils.wrapIfMissing(null, *) = null
|
||||||
* StringUtils.wrap("", *) = ""
|
* StringUtils.wrapIfMissing("", *) = ""
|
||||||
* StringUtils.wrap("ab", null) = "ab"
|
* StringUtils.wrapIfMissing("ab", null) = "ab"
|
||||||
* StringUtils.wrap("ab", "x") = "xabx"
|
* StringUtils.wrapIfMissing("ab", "x") = "xabx"
|
||||||
* StringUtils.wrap("ab", "\"") = "\"ab\""
|
* StringUtils.wrapIfMissing("ab", "\"") = "\"ab\""
|
||||||
* StringUtils.wrap("\"ab\"", "\"") = "\"ab\""
|
* StringUtils.wrapIfMissing("\"ab\"", "\"") = "\"ab\""
|
||||||
* StringUtils.wrap("ab", "'") = "'ab'"
|
* StringUtils.wrapIfMissing("ab", "'") = "'ab'"
|
||||||
* StringUtils.wrap("'abcd'", "'") = "'abcd'"
|
* StringUtils.wrapIfMissing("'abcd'", "'") = "'abcd'"
|
||||||
* StringUtils.wrap("\"abcd\"", "'") = "'\"abcd\"'"
|
* StringUtils.wrapIfMissing("\"abcd\"", "'") = "'\"abcd\"'"
|
||||||
* StringUtils.wrap("'abcd'", "\"") = "\"'abcd'\""
|
* StringUtils.wrapIfMissing("'abcd'", "\"") = "\"'abcd'\""
|
||||||
* StringUtils.wrap("/", "/") = "/"
|
* StringUtils.wrapIfMissing("/", "/") = "/"
|
||||||
* StringUtils.wrap("a/b/c", "/") = "/a/b/c/"
|
* StringUtils.wrapIfMissing("a/b/c", "/") = "/a/b/c/"
|
||||||
* StringUtils.wrap("/a/b/c", "/") = "/a/b/c/"
|
* StringUtils.wrapIfMissing("/a/b/c", "/") = "/a/b/c/"
|
||||||
* StringUtils.wrap("a/b/c/", "/") = "/a/b/c/"
|
* StringUtils.wrapIfMissing("a/b/c/", "/") = "/a/b/c/"
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @param str
|
* @param str
|
||||||
|
|
Loading…
Reference in New Issue