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

The comment for getValue has wrong code in class ListView

    XMLWordPrintableJSON

Details

    Description

      The comment for getValue is as following currently:

      *    @Override  
      *    public Long getValue(MyAccumulator accumulator) {  
      *        accumulator.list.add(id);  
      *        ... ...  
      *        accumulator.list.get()  
      *         ... ...  
      *        return accumulator.count;  
      *    }  
      

       Users may be confused with the code "accumulator.list.add(id); ". It should be removed. 

       

      Attachments

        Issue Links

          Activity

            People

              Jiangang Liu
              Jiangang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: