~ubuntu-branches/debian/sid/wagon2/sid

« back to all changes in this revision

Viewing changes to wagon-providers/wagon-http-shared/src/main/java/org/apache/maven/wagon/shared/http/HtmlFileListParser.java

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2015-09-02 23:46:43 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20150902234643-byu832r11djlzjbs
Tags: 2.9-1
* Team upload.
* New upstream release
  - Refreshed the patches
* Removed the build dependency on libmaven-enforcer-plugin-java
* No longer build and install the unused wagon-scm and wagon-ssh modules
  to reduce the dependencies of libwagon2-java.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
            // assumption.
77
77
            String content = IOUtils.toString( stream, "utf-8" );
78
78
            Document doc = Jsoup.parse( content, baseurl );
79
 
            Elements links = doc.select("a[href]");
 
79
            Elements links = doc.select( "a[href]" );
80
80
            Set<String> results = new HashSet<String>();
81
81
            for ( Element link : links )
82
82
            {
134
134
        }
135
135
        catch ( URISyntaxException e )
136
136
        {
 
137
            // ignore
137
138
        }
138
139
        catch ( UnsupportedEncodingException e )
139
140
        {
 
141
            // ignore
140
142
        }
141
143
 
142
144
        return ret;