Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8278

Scala examples in Metric documentation do not compile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.2, 1.4.0, 1.5.0
    • 1.4.1, 1.5.0
    • Documentation
    • None

    Description

      The Scala examples in the Metrics documentation do not compile.

      The line

      @transient private var counter: Counter
      

      needs to be extended to

      @transient private var counter: Counter = _
      

      Attachments

        Issue Links

          Activity

            People

              xccui Xingcan Cui
              fhueske Fabian Hueske
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: