Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-186

[net] [PATCH] RegexFTPFileEntryParserImpl - Removed dependency on org.apache.oro.text.regex packages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 2.0
    • None
    • None
    • JDK 1.4 or higher

    Description

      When trying to build the Commons Net source, I found the dependency on the org.apache.oro.text.regex packages just for the implementation of VMS FTP entry parsers a bit heavy.
      So I decided to modifiy the classes RegexFTPFileEntryParserImpl and VMSVersioningFTPEntryParser to only use the regular expression classes from the JDK instead of Jakarta Oro. The changes were minimal, since the JDK classes already implement a Perl5-compatible regular expression engine.
      Although I have tested my changes, further testing may be advisable.

      Attachments

        1. VMSVersioningFTPEntryParser.java
          6 kB
          Christian Blichmann
        2. RegexFTPFileEntryParserImpl.java
          5 kB
          Christian Blichmann

        Activity

          People

            Unassigned Unassigned
            asksatan42 Christian Blichmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: