- 15 8月, 2015 4 次提交
-
-
由 Kazuki Shimizu 提交于
Issue: SPR-12801
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
Prior to this commit, the exists() method in JsonPathExpectationsHelper correctly asserted that the evaluated JsonPath expression resulted in a value (i.e., that a non-null value exists); however, if the value was an empty array, the exists() method always threw an AssertionError. The existing behavior makes sense if the JsonPath expression is 'indefinite' -- for example, if the expression uses a filter to select results based on a predicate for which there is no match in the JSON document, but the existing behavior is illogical and therefore invalid if the JsonPath expression is 'definite' (i.e., directly references an array in the JSON document that exists but happens to be empty). For example, prior to this commit, the following threw an AssertionError. new JsonPathExpectationsHelper("$.arr").exists("{ 'arr': [] }"); Similar arguments can be made for the doesNotExist() method. After thorough analysis of the status quo, it has become apparent that the existing specialized treatment of arrays is a result of the fact that the JsonPath library always returns an empty list if the path is an 'indefinite' path that does not evaluate to a specific result. Consult the discussion on "What is Returned When?" in the JsonPath documentation for details: https://github.com/jayway/JsonPath#what-is-returned-when This commit addresses these issues by ensuring that empty arrays are considered existent if the JsonPath expression is definite but nonexistent if the expression is indefinite. Issue: SPR-13351
-
由 Sam Brannen 提交于
-
- 14 8月, 2015 8 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
Prior to this commit, a JsonPath assertion that a path expression evaluated to an array in JsonPathExpectationsHelper (and therefore indirectly in JsonPathResultMatchers in Spring MVC Test) would incorrectly fail if the array was present in the JSON content but empty. This commit fixes this issue by removing the "not empty" check for arrays and lists. Issue: SPR-13320
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Stephane Nicoll 提交于
* pr/856: Fix default value of CommonsPool2TargetSource#maxWait
-
由 Kazuki Shimizu 提交于
Issue: SPR-13350
-
由 Sam Brannen 提交于
-
- 13 8月, 2015 11 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13326
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13309
-
由 Rossen Stoyanchev 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-13342
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13341
-
由 Juergen Hoeller 提交于
Issue: SPR-13228
-
由 Sam Brannen 提交于
-
由 Gary Russell 提交于
SocketUtils is used to find available ports on localhost; however, prior to this commit, SocketUtils incorrectly reported a port as available on localhost if another process was already bound to localhost on the given port but not to other network interfaces. In other words, SocketUtils determined that a given port was available for some interface though not necessarily for the loopback interface. This commit addresses this issue by refactoring SocketUtils so that it tests the loopback interface to ensure that the port is actually available for localhost. Issue: SPR-13321
-
由 Juergen Hoeller 提交于
Issue: SPR-13312
-
- 12 8月, 2015 10 次提交
-
-
由 Rossen Stoyanchev 提交于
Tested with Aug 2015 WAS Liberty Beta for the upcoming 8.5.5.7 release. Issue: SPR-12367
-
由 Juergen Hoeller 提交于
Issue: SPR-13343
-
由 Juergen Hoeller 提交于
Issue: SPR-13312
-
由 Sam Brannen 提交于
Issue: SPR-13312
-
由 Sam Brannen 提交于
Issue: SPR-13312
-
由 Juergen Hoeller 提交于
Includes latest dependency updates (Jackson 2.6.1, Jetty 9.3.2, Undertow 1.2.10) Issue: SPR-13342
-
由 Juergen Hoeller 提交于
Issue: SPR-13312
-
由 Sam Brannen 提交于
This commit introduces an additional test case to ensure that explicit local attribute aliases (configured via @AliasFor) do not accidentally override attributes of the same names in meta-annotations (i.e., by convention). Issue: SPR-13325
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
- 11 8月, 2015 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
- 10 8月, 2015 5 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
Prior to this commit, attempting to synthesize an annotation from a map of annotation attributes that contained nested maps instead of nested annotations would result in an exception. This commit addresses this issue by properly synthesizing nested maps and nested arrays of maps into nested annotations and nested arrays of annotations, respectively. Issue: SPR-13338
-
由 Sam Brannen 提交于
It is a configuration error if an alias is declared via @AliasFor for an attribute in a meta-annotation and the meta-annotation is not meta-present. However, prior to this commit, the support for validating the configuration of @AliasFor in AnnotationUtils currently silently ignored such errors. This commit fixes this by throwing an AnnotationConfigurationException whenever a required meta-annotation is not present or meta-present on an annotation that declares an explicit alias for an attribute in the meta-annotation. Issue: SPR-13335
-