Changeset 13631


Ignore:
Timestamp:
2007-01-16T14:03:32+13:00 (17 years ago)
Author:
shaoqun
Message:

added the code to guard the null library_url

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/Gatherer.java

    r13601 r13631  
    634634    // used to send reload coll messages to the tomcat server
    635635    static public void configGS3Server(String site, String command) {
    636 
     636    if (Configuration.library_url == null) return;
     637         
    637638    try {
    638639        // need to add the servlet name to the exec address
     
    650651        url = null;
    651652    }
    652     catch (Exception exception) {
     653    catch (Exception exception) {           
    653654        DebugStream.printStackTrace(exception);
    654655    }
Note: See TracChangeset for help on using the changeset viewer.