Commons IO
  1. Commons IO
  2. IO-304

The second constructor of Tailer class does not pass 'delay' to the third one

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None

      Description

      Here is the second contructor of Tailer class:

          public Tailer(File file, TailerListener listener, long delay) {
              this(file, listener, 1000, false);
          }
      
      1. tailer.diff
        0.6 kB
        Liyin Liang

        Activity

        Hide
        Gary Gregory added a comment -

        Committed revision 1295587.

        Show
        Gary Gregory added a comment - Committed revision 1295587.
        Hide
        Liyin Liang added a comment -

        It should be

            public Tailer(File file, TailerListener listener, long delay) {
                this(file, listener, delay, false);
            }
        
        Show
        Liyin Liang added a comment - It should be public Tailer(File file, TailerListener listener, long delay) { this (file, listener, delay, false ); }

          People

          • Assignee:
            Gary Gregory
            Reporter:
            Liyin Liang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development