Go to file
Sam Brannen 73a18046c3 Fix SpEL support for quotes within String literals
Prior to this commit, there were two bugs in the support for quotes
within String literals in SpEL expressions.

- Two double quotes ("") or two single quotes ('') were always replaced
  with one double quote or one single quote, respectively, regardless
  of which quote character was used to enclose the original String
  literal. This resulted in the loss of one of the double quotes when
  the String literal was enclosed in single quotes, and vice versa. For
  example, 'x "" y' became 'x " y'.

- A single quote which was properly escaped in a String literal
  enclosed within single quotes was not escaped in the AST string
  representation of the expression. For example, 'x '' y' became 'x ' y'.

This commit fixes both of these related issues in StringLiteral and
overhauls the structure of ParsingTests.

Closes gh-29604, gh-28356
2022-12-07 15:43:47 -05:00
.github Correct (again) permissions key in backport bot config 2022-12-06 09:41:05 +00:00
buildSrc
ci
framework-bom
framework-docs Polishing contribution 2022-12-05 15:37:48 +00:00
framework-platform Upgrade to Apache HttpClient 5.2 2022-12-02 20:57:35 +01:00
gradle Upgrade JMH build plugins 2022-12-05 13:02:11 +01:00
integration-tests
spring-aop Polishing, suppression of deprecation warnings, copyright headers, etc. 2022-12-05 14:16:22 -05:00
spring-aspects
spring-beans
spring-context Reintroduce component index support for Jakarta annotations 2022-12-06 16:23:31 -05:00
spring-context-indexer
spring-context-support
spring-core Introduce @Suite classes for individual modules 2022-12-07 12:12:41 -05:00
spring-core-test
spring-expression Fix SpEL support for quotes within String literals 2022-12-07 15:43:47 -05:00
spring-instrument
spring-jcl
spring-jdbc Improve Javadoc for SqlLobValue 2022-12-07 12:12:41 -05:00
spring-jms
spring-messaging
spring-orm
spring-oxm
spring-r2dbc
spring-test Update copyright headers 2022-12-07 12:11:45 -05:00
spring-tx
spring-web Rename MultipartWebClientIntegrationTests classes to avoid duplicate names 2022-12-06 12:50:36 -05:00
spring-webflux Rename MultipartWebClientIntegrationTests classes to avoid duplicate names 2022-12-06 12:50:36 -05:00
spring-webmvc Polishing 2022-12-06 12:29:03 -05:00
spring-websocket
src
.editorconfig
.gitattributes
.gitignore
.mailmap
.sdkmanrc
CODE_OF_CONDUCT.adoc
CONTRIBUTING.md
LICENSE.txt
README.md
SECURITY.md
build.gradle Upgrade JMH build plugins 2022-12-05 13:02:11 +01:00
gradle.properties
gradlew
gradlew.bat
import-into-eclipse.md
import-into-idea.md
settings.gradle
update_copyright_headers.sh

README.md

Spring Framework Build Status Revved up by Gradle Enterprise

This is the home of the Spring Framework: the foundation for all Spring projects. Collectively the Spring Framework and the family of Spring projects are often referred to simply as "Spring".

Spring provides everything required beyond the Java programming language for creating enterprise applications for a wide range of scenarios and architectures. Please read the Overview section as reference for a more complete introduction.

Code of Conduct

This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

Access to Binaries

For access to artifacts or a distribution zip, see the Spring Framework Artifacts wiki page.

Documentation

The Spring Framework maintains reference documentation (published and source), GitHub wiki pages, and an API reference. There are also guides and tutorials across Spring projects.

Micro-Benchmarks

See the Micro-Benchmarks wiki page.

Build from Source

See the Build from Source wiki page and the CONTRIBUTING.md file.

Continuous Integration Builds

Information regarding CI builds can be found in the Spring Framework Concourse pipeline documentation.

Stay in Touch

Follow @SpringCentral, @SpringFramework, and its team members on Twitter. In-depth articles can be found at The Spring Blog, and releases are announced via our news feed.

License

The Spring Framework is released under version 2.0 of the Apache License.