Changeset 16471


Ignore:
Timestamp:
2008-07-18T17:36:43+12:00 (16 years ago)
Author:
ak19
Message:

Minor change in test for ConnectException

File:
1 edited

Legend:

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

    r16371 r16471  
    306306            }
    307307            catch(java.net.ConnectException exception) {
    308             if(exception.getMessage().equals("Connection refused")) {
     308            if(exception.getMessage().trim().startsWith("Connection refused")) {
    309309                exit = true;
    310310            } else {
Note: See TracChangeset for help on using the changeset viewer.