Commons IO
  1. Commons IO
  2. IO-212

Incorrect ProxyInputStream.skip() javadoc

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 2.0
    • Component/s: Streams/Writers
    • Labels:
      None

      Description

      The ProxyInputStream.skip() method documents the return value as "the number of bytes to skipped or -1 if the end of stream" when the underlying InputStream.skip() method returns "the actual number of bytes skipped", i.e. never -1.

        Activity

        Jukka Zitting created issue -
        Hide
        Jukka Zitting added a comment -

        Fixed in revision 805156.

        Show
        Jukka Zitting added a comment - Fixed in revision 805156.
        Jukka Zitting made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12473404 ] Default workflow, editable Closed status [ 12601823 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        54s 1 Jukka Zitting 17/Aug/09 22:44
        Resolved Resolved Closed Closed
        337d 19h 16m 1 Henri Yandell 21/Jul/10 18:00

          People

          • Assignee:
            Jukka Zitting
            Reporter:
            Jukka Zitting
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development