Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-17581

Typo in SpEL Evaluation Context Sample

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 5.1.3
    • Fix Version/s: 4.3.22, 5.0.12, 5.1.4
    • Component/s: [Documentation]
    • Labels:
      None

      Description

      In the sample it is written

      EvaluationContext context = SimpleEvaluationContext().forReadOnlyDataBinding().build();
      
      

      but it must be

      EvaluationContext context = SimpleEvaluationContext.forReadOnlyDataBinding().build();
      
      

      And parentheses are redundant.

        Attachments

          Activity

            People

            Assignee:
            juergen.hoeller Juergen Hoeller
            Reporter:
            pasha Amir Pashazadeh
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 37 weeks, 6 days ago