alex
11/13/2018, 11:05 AMedvin
11/13/2018, 11:16 AMRuckus
11/13/2018, 5:09 PMRuckus
11/13/2018, 5:11 PMRuckus
11/13/2018, 5:13 PMcarlw
11/13/2018, 5:14 PMcarlw
11/13/2018, 5:16 PMcarlw
11/13/2018, 5:16 PMRuckus
11/13/2018, 5:18 PMRuckus
11/13/2018, 5:22 PMApp
constructor is the only place I can think it would increase friction (though it would admittedly be a pretty significant increase).hudsonb
11/13/2018, 5:23 PMcarlw
11/13/2018, 7:04 PMamanda.hinchman-dominguez
11/13/2018, 7:10 PMamanda.hinchman-dominguez
11/13/2018, 7:10 PMamanda.hinchman-dominguez
11/13/2018, 7:15 PMamanda.hinchman-dominguez
11/13/2018, 7:15 PMamanda.hinchman-dominguez
11/13/2018, 7:19 PMamanda.hinchman-dominguez
11/13/2018, 7:19 PMString.strip()
is simply not being usedamanda.hinchman-dominguez
11/13/2018, 7:24 PMstrip()
function as well.amanda.hinchman-dominguez
11/13/2018, 7:24 PMamanda.hinchman-dominguez
11/13/2018, 7:27 PMstrip
function works as trim()
doesamanda.hinchman-dominguez
11/13/2018, 7:27 PM/**
* Returns a string whose value is this string, with all leading
* and trailing {@link Character#isWhitespace(int) white space}
* removed.
* <p>
* If this {@code String} object represents an empty string,
* or if all code points in this string are
* {@link Character#isWhitespace(int) white space}, then an empty string
* is returned.
* <p>
* Otherwise, returns a substring of this string beginning with the first
* code point that is not a {@link Character#isWhitespace(int) white space}
* up to and including the last code point that is not a
* {@link Character#isWhitespace(int) white space}.
* <p>
* This method may be used to strip
* {@link Character#isWhitespace(int) white space} from
* the beginning and end of a string.
*
* @return a string whose value is this string, with all leading
* and trailing white space removed
*
* @see Character#isWhitespace(int)
*
* @since 11
*/
public String strip() {
String ret = isLatin1() ? StringLatin1.strip(value)
: StringUTF16.strip(value);
return ret == null ? this : ret;
}
amanda.hinchman-dominguez
11/13/2018, 7:31 PMRuckus
11/13/2018, 7:31 PMamanda.hinchman-dominguez
11/13/2018, 7:31 PMamanda.hinchman-dominguez
11/13/2018, 7:36 PMamanda.hinchman-dominguez
11/13/2018, 7:37 PM➜ git push --set-upstream origin jdk-10-test-fixes
remote: Permission to edvin/tornadofx.git denied to ahinchman1.
fatal: unable to access '<https://github.com/edvin/tornadofx/>': The requested URL returned error: 403
amanda.hinchman-dominguez
11/13/2018, 7:39 PMamanda.hinchman-dominguez
11/13/2018, 7:45 PMamanda.hinchman-dominguez
11/13/2018, 8:02 PM