e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 7 of 7 (0.0020 seconds)
Class: org.springframework.util.DefaultPropertiesPersister  ©, Rating: 0% of 0, C3

087 String key = (separatorIndex != -1 ? line.substring(0, separatorIndex) : line); 088 String value = (separatorIndex != -1) ? line.substring(separatorIndex + 1) : ""; 089 key = StringUtils.trimTrailingWhitespace(key); 090 value = StringUtils.trimLeadingWhitespace(value); 091 props.put(unescape(key), unescape(value));

Class: org.springframework.util.StringUtilsTests  ©, Rating: 0% of 0, C1

055 assertEquals("a", StringUtils.trimTrailingWhitespace("a ")); 056 assertEquals(" a", StringUtils.trimTrailingWhitespace(" a")); 057 assertEquals(" a", StringUtils.trimTrailingWhitespace(" a ")); 058 } 059

Class: org.springframework.util.StringUtilsTests  ©, Rating: 0% of 0, C1

054 assertEquals("", StringUtils.trimTrailingWhitespace("\t")); 055 assertEquals("a", StringUtils.trimTrailingWhitespace("a ")); 056 assertEquals(" a", StringUtils.trimTrailingWhitespace(" a")); 057 assertEquals(" a", StringUtils.trimTrailingWhitespace(" a ")); 058 }

Class: org.springframework.util.StringUtilsTests  ©, Rating: 0% of 0, C1

053 assertEquals("", StringUtils.trimTrailingWhitespace(" ")); 054 assertEquals("", StringUtils.trimTrailingWhitespace("\t")); 055 assertEquals("a", StringUtils.trimTrailingWhitespace("a ")); 056 assertEquals(" a", StringUtils.trimTrailingWhitespace(" a")); 057 assertEquals(" a", StringUtils.trimTrailingWhitespace(" a "));

Class: org.springframework.util.StringUtilsTests  ©, Rating: 0% of 0, C1

052 assertEquals("", StringUtils.trimTrailingWhitespace("")); 053 assertEquals("", StringUtils.trimTrailingWhitespace(" ")); 054 assertEquals("", StringUtils.trimTrailingWhitespace("\t")); 055 assertEquals("a", StringUtils.trimTrailingWhitespace("a ")); 056 assertEquals(" a", StringUtils.trimTrailingWhitespace(" a"));

Class: org.springframework.util.StringUtilsTests  ©, Rating: 0% of 0, C1

051 public void testTrimTrailingWhitespace() throws Exception { 052 assertEquals("", StringUtils.trimTrailingWhitespace("")); 053 assertEquals("", StringUtils.trimTrailingWhitespace(" ")); 054 assertEquals("", StringUtils.trimTrailingWhitespace("\t")); 055 assertEquals("a", StringUtils.trimTrailingWhitespace("a "));

Class: org.springframework.util.StringUtilsTests  ©, Rating: 0% of 0, C1

050 051 public void testTrimTrailingWhitespace() throws Exception { 052 assertEquals("", StringUtils.trimTrailingWhitespace("")); 053 assertEquals("", StringUtils.trimTrailingWhitespace(" ")); 054 assertEquals("", StringUtils.trimTrailingWhitespace("\t"));

Result Page:  1.0