From 76645644b1cb99cbee155dfea2852ee13914b3e3 Mon Sep 17 00:00:00 2001 From: Sebastien Deleuze Date: Wed, 14 Aug 2019 10:06:04 +0200 Subject: [PATCH] Polishing See gh-21778 --- src/docs/asciidoc/core/core-expressions.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/asciidoc/core/core-expressions.adoc b/src/docs/asciidoc/core/core-expressions.adoc index 369b9724669..54f44b4e4bb 100644 --- a/src/docs/asciidoc/core/core-expressions.adoc +++ b/src/docs/asciidoc/core/core-expressions.adoc @@ -176,7 +176,7 @@ example shows: .Java ---- ExpressionParser parser = new SpelExpressionParser(); - Expression exp = parser.parseExpression("new String('hello world').toUpperCase()"); + Expression exp = parser.parseExpression("new String('hello world').toUpperCase()"); // <1> String message = exp.getValue(String.class); ---- <1> Construct a new `String` from the literal and make it be upper case. @@ -185,7 +185,7 @@ example shows: .Kotlin ---- val parser = SpelExpressionParser() - val exp = parser.parseExpression("new String('hello world').toUpperCase()") + val exp = parser.parseExpression("new String('hello world').toUpperCase()") // <1> val message = exp.getValue(String::class.java) ---- <1> Construct a new `String` from the literal and make it be upper case.