Christoph Dreis
58bb6e7181
Reduce allocations caused by producible media types
...
Closes gh-29412
3 years ago
Sébastien Deleuze
1439c5bb8f
Document how to use WebJars without webjars-locator-core dependency
...
Closes gh-29322
3 years ago
Marc Wrobel
ce49068ff9
Fix links in Javadoc and reference docs
...
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349 : this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up nohttp allowlist.lines
Closes gh-28876
3 years ago
Marc Wrobel
92a231cf91
Fix typos in Javadoc, reference docs, and code
...
Closes gh-28822
3 years ago
Sam Brannen
50dff77d01
Polish contribution
3 years ago
Marc Wrobel
0f479293b1
Replace use of the <tt> HTML tag in Javadoc
...
The <tt> HTML tag was used in HTML 4 to define teletype text. It is not
supported in HTML5, and its use is discouraged.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tt
Closes gh-28819
3 years ago
Johnny Lim
00f7f5ff0a
Use MediaType.APPLICATION_FORM_URLENCODED_VALUE
...
See gh-28771
3 years ago
Marc Wrobel
bd3499671c
Fix typos in test code
...
This commit fixes typos in test class names, test method names, and
test variable names.
Closes gh-28807
3 years ago
Sam Brannen
5b1a84e395
Polish contribution
...
See gh-28789
3 years ago
Marc Wrobel
6985fa8057
Fix and improve Javadoc in spring-webmvc
...
Closes gh-28789
3 years ago
Sam Brannen
d274e893a6
Remove superfluous static declaration for enum, annotation, & interface
3 years ago
Sam Brannen
0621a8eff1
Fix concurrency issues in FreeMarkerMacroTests
...
Prior to this commit, tests in these two classes intermittently failed
with errors similar to the following, due to concurrent modification
of shared files.
expected:
"<input type="text" id="name" name="name" value="Darren" >"
but was:
"<input type="text" id="name" name="name" value="Darren" >
"hidden"/>"
This commit fixes this by creating a new temporary folder for each test
method invocation.
4 years ago
rstoyanchev
b95362a3fd
Avoid request params access for form data in logRequest
...
Close gh-28587
4 years ago
Sam Brannen
e19e9757d4
Polishing
4 years ago
Juergen Hoeller
30c873b4b5
Move NestedServletExceptionTests to spring-web module
...
See gh-25162
4 years ago
rstoyanchev
8c777111fa
Revise commit #52d068 with corrected test
...
Update test detecting RouterFunction beans in parent contexts to use
different bean names and avoid shadowing. Changed the fix accordingly
given that BeanProvider does detect beans in parent contexts.
See gh-28595
4 years ago
rstoyanchev
d28d603081
Polishing
...
See gh-28595
4 years ago
rstoyanchev
52d0681ca1
WebMvc respects RouterFunction beans ordering
...
Closes gh-28595
4 years ago
Sam Brannen
aab9da0366
Polish LocaleResolver support
4 years ago
Sam Brannen
1beb7068f6
Use new AssertJ exception assertions
4 years ago
Sam Brannen
8547f8601d
Polish LocaleResolver tests
4 years ago
rstoyanchev
f95bf96ec9
Correct path encoding/decoding in PathResourceResolver
...
Decoding is required for non-UrlResource when the HandlerMapping is
not expected to decode the path. Encoding is the opposite.
This commit ensures correct determination of whether the HandlerMapping
is expected to have decoded the path or not that in turn depends on
whether PathPattern or PathMatcher is in use.
Closes gh-27791
4 years ago
rstoyanchev
66a5742df3
Polishing
4 years ago
Sam Brannen
06679a5583
Fix tests in DispatcherServletTests
...
See gh-28424
4 years ago
Sam Brannen
745eb1a881
Polish DispatcherServletTests
4 years ago
Sam Brannen
1c10cdd1e8
Update copyright dates
...
See gh-28433
4 years ago
evgeny.bovykin
941b92cbed
Make inner classes static when feasible
...
A static nested class does not keep an implicit reference to its
enclosing instance.
This prevents a common cause of memory leaks and uses less memory per
instance of the class.
Closes gh-28433
4 years ago
Sam Brannen
e26d8839b3
Stop referring to features as Java 6/7 features where unnecessary
4 years ago
Stephane Nicoll
b81c62d064
Update copyright year of changed file
...
See gh-28372
4 years ago
zhangmingqi09
ca1a11acac
Fix github issue reference in RequestMappingHandlerMapping
...
See gh-28372
4 years ago
Sam Brannen
a7cf19cec5
Improve documentation and matching algorithm in data binders
4 years ago
Juergen Hoeller
0cf7f7bd89
Polishing
4 years ago
GatinMI
b158110801
Fix debug log for no matching acceptableTypes
4 years ago
Sam Brannen
c462fe30ed
Use Named arguments in parameterized tests
4 years ago
Sam Brannen
9fbf5dc945
Use String#lastIndexOf(int) where possible
4 years ago
rstoyanchev
ec03e8830e
Remove path variables from pathWithinMapping
...
Closes gh-27913
4 years ago
Stephane Nicoll
d2c7dfb79e
Add convenience factory method for Managed[List|Set|Map]
...
Closes gh-28026
4 years ago
Sam Brannen
f8a5a8d7be
Use modern language features in tests
4 years ago
Juergen Hoeller
cf5b86369d
Explicitly close InputStream after resolution in RequestPartMethodArgumentResolver
...
Closes gh-27773
4 years ago
Sam Brannen
df263d01b9
Use idiomatic AssertJ assertions for true, false, and null
4 years ago
Sam Brannen
03668f9c10
Replace remaining use of StringBuffer with StringBuilder
...
Although this commit only applies to test classes, it serves to reduce
the noise when searching for undesirable usage of StringBuffer in
production code.
4 years ago
Sam Brannen
3e14cdbc69
Polish tests
4 years ago
Rossen Stoyanchev
e9083d7d20
Apply LogFormatUtils in more places
4 years ago
Katada, Junya
9261766677
Fix for ModelAndView.status not working with RedirectView
4 years ago
Juergen Hoeller
14f24f43d7
Polishing
4 years ago
Rossen Stoyanchev
829bed03af
Polishing contribution
...
Closes gh-27723
4 years ago
Andreas Grub
ce0aed216b
Add getter for RequestMappingInfo.BuilderConfiguration
...
This improves support for programmatic registration of mappings to
use the same config as that of the RequestMappingHandlerMapping.
See gh-27723
4 years ago
Rossen Stoyanchev
0d7c562693
Polishing contribution
...
Closes gh-910
4 years ago
/usr/local/ΕΨΗΕΛΩΝ
913cc079af
TagWriter can write empty attribute
...
See gh-910
4 years ago
Arjen Poutsma
5fbdd6dcfe
Throw exception using capturing patterns in AntPathMatcher
...
Closes gh-27688
4 years ago