Skip to content

Commit f6e5290

Browse files
committed
Polish SpEL documentation
1 parent 62b5e42 commit f6e5290

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

framework-docs/modules/ROOT/pages/core/expressions/evaluation.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Java::
1818
Expression exp = parser.parseExpression("'Hello World'"); // <1>
1919
String message = (String) exp.getValue();
2020
----
21-
<1> The value of the message variable is `'Hello World'`.
21+
<1> The value of the message variable is `"Hello World"`.
2222
2323
Kotlin::
2424
+
@@ -28,7 +28,7 @@ Kotlin::
2828
val exp = parser.parseExpression("'Hello World'") // <1>
2929
val message = exp.value as String
3030
----
31-
<1> The value of the message variable is `'Hello World'`.
31+
<1> The value of the message variable is `"Hello World"`.
3232
======
3333

3434
The SpEL classes and interfaces you are most likely to use are located in the
@@ -57,7 +57,7 @@ Java::
5757
Expression exp = parser.parseExpression("'Hello World'.concat('!')"); // <1>
5858
String message = (String) exp.getValue();
5959
----
60-
<1> The value of `message` is now 'Hello World!'.
60+
<1> The value of `message` is now `"Hello World!"`.
6161
6262
Kotlin::
6363
+
@@ -67,7 +67,7 @@ Kotlin::
6767
val exp = parser.parseExpression("'Hello World'.concat('!')") // <1>
6868
val message = exp.value as String
6969
----
70-
<1> The value of `message` is now 'Hello World!'.
70+
<1> The value of `message` is now `"Hello World!"`.
7171
======
7272

7373
The following example demonstrates how to access the `Bytes` JavaBean property of the

framework-docs/modules/ROOT/pages/core/expressions/language-ref/collection-projection.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Projection lets a collection drive the evaluation of a sub-expression, and the result is
55
a new collection. The syntax for projection is `.![projectionExpression]`. For example,
66
suppose we have a list of inventors but want the list of cities where they were born.
7-
Effectively, we want to evaluate 'placeOfBirth.city' for every entry in the inventor
7+
Effectively, we want to evaluate `placeOfBirth.city` for every entry in the inventor
88
list. The following example uses projection to do so:
99

1010
[tabs]

0 commit comments

Comments
 (0)