Changeset 31821 for main

Show
Ignore:
Timestamp:
24.07.2017 21:47:37 (2 years ago)
Author:
ak19
Message:

Removing the (commented) out debug statements introduced during the previous commit.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/gui/DownloadPane.java

    r31820 r31821  
    612612    boolean noMoreRedirects = false; 
    613613     
    614     //System.err.println("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"); 
    615614    HttpURLConnection connection = null; 
    616615    if(url_str.startsWith("http:") || url_str.startsWith("https:")) { // only test http urls 
     
    630629        // HTTP Codes 3xx are redirects, http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html 
    631630        int responseCode = connection.getResponseCode(); 
    632         //System.err.println("@@@ response code was " + responseCode); 
    633631        if(responseCode >= 300 && responseCode < 400) {  
    634632            //String responseMsg = connection.getResponseMessage(); 
    635             //System.err.println("@@@ response msg: " + responseMsg); 
    636633 
    637634            // Get the Location header since this specifies the new location of the resource 
    638635            String location = connection.getHeaderField("Location"); 
    639636 
    640             //System.err.println("@@@ Old URL: |" + url_str + "|"); 
    641             //System.err.println("@@@ LOCATION: |" + location + "|"); 
    642637            // this becomes the url that wget should download from 
    643638            url_str = location.trim(); 
     
    656651 
    657652    if(noMoreRedirects) { 
    658         //System.err.println("@@@ Found url_str " + url_str); 
    659         //System.err.println("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"); 
    660653        return url_str; 
    661654    }