Explore Enterprise Education Gitee Premium Gitee AI AI teammates
Fetch the repository succeeded.
Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
Already have an account? Sign in
文件
master
Branches (23)
Tags (178)
master
5.2.x
5.1.x
4.3.x
5.0.x
issues/gh-24540-dynamic-property-source
issues/gh-24188-handle-annotation-introspection-exceptions
release-5.1.12.RELEASE
issues/gh-19930
issues/gh-22286
optimize-mono-bodies
3.2.x
4.2.x
gh-pages
4.0.x
4.1.x
junit4-to-junit5
olivergierke-patch-1
update-stomp-reactor-netty
3.1.x
v4.3.27.RELEASE
v5.0.17.RELEASE
v5.2.6.RELEASE
v5.1.15.RELEASE
v5.2.5.RELEASE
v5.2.4.RELEASE
v5.1.14.RELEASE
v4.3.26.RELEASE
v5.0.16.RELEASE
v5.2.3.RELEASE
v5.1.13.RELEASE
v5.2.2.RELEASE
v5.1.12.RELEASE
v5.2.1.RELEASE
v5.1.11.RELEASE
v5.2.0.RELEASE
v5.1.10.RELEASE
v5.2.0.RC2
v5.2.0.RC1
v5.1.9.RELEASE
master
Branches (23)
Tags (178)
master
5.2.x
5.1.x
4.3.x
5.0.x
issues/gh-24540-dynamic-property-source
issues/gh-24188-handle-annotation-introspection-exceptions
release-5.1.12.RELEASE
issues/gh-19930
issues/gh-22286
optimize-mono-bodies
3.2.x
4.2.x
gh-pages
4.0.x
4.1.x
junit4-to-junit5
olivergierke-patch-1
update-stomp-reactor-netty
3.1.x
v4.3.27.RELEASE
v5.0.17.RELEASE
v5.2.6.RELEASE
v5.1.15.RELEASE
v5.2.5.RELEASE
v5.2.4.RELEASE
v5.1.14.RELEASE
v4.3.26.RELEASE
v5.0.16.RELEASE
v5.2.3.RELEASE
v5.1.13.RELEASE
v5.2.2.RELEASE
v5.1.12.RELEASE
v5.2.1.RELEASE
v5.1.11.RELEASE
v5.2.0.RELEASE
v5.1.10.RELEASE
v5.2.0.RC2
v5.2.0.RC1
v5.1.9.RELEASE
Clone or Download
Clone/Download
Prompt
To download the code, please copy the following command and execute it in the terminal
To ensure that your submitted code identity is correctly recognized by Gitee, please execute the following command.
When using the SSH protocol for the first time to clone or push code, follow the prompts below to complete the SSH configuration.
1 Generate RSA keys.
2 Obtain the content of the RSA public key and configure it in SSH Public Keys
To use SVN on Gitee, please visit the usage guide
When using the HTTPS protocol, the command line will prompt for account and password verification as follows. For security reasons, Gitee recommends configure and use personal access tokens instead of login passwords for cloning, pushing, and other operations.
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # Private Token
master
Branches (23)
Tags (178)
master
5.2.x
5.1.x
4.3.x
5.0.x
issues/gh-24540-dynamic-property-source
issues/gh-24188-handle-annotation-introspection-exceptions
release-5.1.12.RELEASE
issues/gh-19930
issues/gh-22286
optimize-mono-bodies
3.2.x
4.2.x
gh-pages
4.0.x
4.1.x
junit4-to-junit5
olivergierke-patch-1
update-stomp-reactor-netty
3.1.x
v4.3.27.RELEASE
v5.0.17.RELEASE
v5.2.6.RELEASE
v5.1.15.RELEASE
v5.2.5.RELEASE
v5.2.4.RELEASE
v5.1.14.RELEASE
v4.3.26.RELEASE
v5.0.16.RELEASE
v5.2.3.RELEASE
v5.1.13.RELEASE
v5.2.2.RELEASE
v5.1.12.RELEASE
v5.2.1.RELEASE
v5.1.11.RELEASE
v5.2.0.RELEASE
v5.1.10.RELEASE
v5.2.0.RC2
v5.2.0.RC1
v5.1.9.RELEASE
Spring-Framework
/
spring-expression
contribute
Sync branch
See difference Through Pull Request Sync
Sync branch
Through Pull Request Sync
A Pull Request will be created to the current
branch and will be merged in to complete the sync
File empty ...
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
List of outstanding things to think about - turn into tickets once distilled to a core set of issues
High Importance
- In the resolver/executor model we cache executors. They are currently recorded in the AST and so if the user chooses to evaluate an expression
in a different context then the stored executor may be incorrect. It may harmless 'fail' which would cause us to retrieve a new one, but 
can it do anything malicious? In which case we either need to forget them when the context changes or store them elsewhere. Should caching be
something that can be switched on/off by the context? (shouldCacheExecutors() on the interface?)
- Expression serialization needs supporting
- expression basic interface and common package. Should LiteralExpression be settable? should getExpressionString return quoted value?
Low Importance
- For the ternary operator, should isWritable() return true/false depending on evaluating the condition and check isWritable() of whichever branch it
would have taken? At the moment ternary expressions are just considered NOT writable.
- Enhance type locator interface with direct support for register/unregister imports and ability to set class loader?
- Should some of the common errors (like SpelMessages.TYPE_NOT_FOUND) be promoted to top level exceptions?
- Expression comparison - is it necessary?
Syntax
- should the 'is' operator change to 'instanceof' ?
- in this expression we hit the problem of not being able to write chars, since '' always means string:
 evaluate("new java.lang.String('hello').charAt(2).equals('l'.charAt(0))", true, Boolean.class);
 So 'l'.charAt(0) was required - wonder if we can build in a converter for a single length string to char?
 Can't do that as equals take Object and so we don't know to do a cast in order to pass a char into equals
 We certainly cannot do a cast (unless casts are added to the syntax). See MethodInvocationTest.testStringClass()
- MATCHES is now the thing that takes a java regex. What does 'like' do? right now it is the SQL LIKE that supports
 wildcards % and _. It has a poor implementation but I need to know whether to keep it in the language before
 fixing that.
- Need to agree on a standard date format for 'default' processing of dates. Currently it is:
 formatter = new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss z", Locale.UK);
 // this is something of this format: "Wed, 4 Jul 2001 12:08:56 GMT"
 // https://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
- See LiteralTests for Date (4,5,6) - should date take an expression rather than be hardcoded in the grammar
 to take 2 strings only?
- when doing arithmetic, eg. 8.4 / 4 and the user asks for an Integer return type - do we silently coerce or
 say we cannot as it won't fit into an int? (see OperatorTests.testMathOperatorDivide04)
- Is $index within projection/selection useful or just cute?
- All reals are represented as Doubles (so 1.25f is held internally as a double, can be converted to float when required though) - is that ok?
Report
Report success
We will send you the feedback within 2 working days through the letter!
Please fill in the reason for the report carefully. Provide as detailed a description as possible.
Please select a report type
Cancel
Send
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

About

Spring Framework 是一个开源的Java/Java EE全功能栈(full-stack)的应用程序框架,以Apache许可证形式发布,也有.NET平台上的移植版本
No labels
README
Apache-2.0
Use Apache-2.0
Cancel

Releases

No release

Contributors

All

Activities

can not load any more
Edit
About
Homepage
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/cinitial/Spring-Framework.git
git@gitee.com:cinitial/Spring-Framework.git
cinitial
Spring-Framework
Spring-Framework
master
Going to Help Center

Search

Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register

AltStyle によって変換されたページ (->オリジナル) /