Merge pull request #335 from clemp6r/SPR-10850
# By clemp6r * SPR-10850: Fix elvis operator mistake in reference docs
This commit is contained in:
commit
c93fbda56d
|
|
@ -980,7 +980,7 @@ StandardEvaluationContext context = new StandardEvaluationContext(tesla);
|
||||||
|
|
||||||
String name = parser.parseExpression("Name?:'Elvis Presley'").getValue(context, String.class);
|
String name = parser.parseExpression("Name?:'Elvis Presley'").getValue(context, String.class);
|
||||||
|
|
||||||
System.out.println(name); // Mike Tesla
|
System.out.println(name); // Nikola Tesla
|
||||||
|
|
||||||
tesla.setName(null);
|
tesla.setName(null);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue