Skip to content

Commit

Permalink
downloader
Browse files Browse the repository at this point in the history
  • Loading branch information
witek committed Jul 7, 2015
1 parent 8348827 commit 3b1493a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<classpathentry exported="true" kind="lib" path="lib/poi-ooxml-schemas-3.12.jar"/>
<classpathentry exported="true" kind="lib" path="lib/scribe-1.3.7.jar"/>
<classpathentry exported="true" kind="lib" path="lib/testng-6.9.4.jar"/>
<classpathentry kind="lib" path="lib/jcommander-1.48.jar"/>
<classpathentry exported="true" kind="lib" path="lib/tidy.jar"/>
<classpathentry exported="true" kind="lib" path="lib/velocity-1.7.jar"/>
<classpathentry exported="true" kind="lib" path="lib/xmlbeans-2.6.0.jar"/>
Expand Down
8 changes: 3 additions & 5 deletions src/main/java/ilarkesto/net/ApacheHttpDownloader.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* Copyright 2011 Witoslaw Koczewsi <[email protected]>
*
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero
* General Public License as published by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
* License for more details.
*
*
* You should have received a copy of the GNU Affero General Public License along with this program. If not,
* see <http://www.gnu.org/licenses/>.
*/
Expand Down Expand Up @@ -75,8 +75,6 @@ public class ApacheHttpDownloader extends HttpDownloader {
private HttpClient client;
private HttpContext context;

protected ApacheHttpDownloader() {}

public String upload(String url, File file, Map<String, String> parameters, Map<String, String> requestHeaders,
String charset) {
url = getFullUrl(url);
Expand Down

0 comments on commit 3b1493a

Please sign in to comment.