Changeset 16471

Show
Ignore:
Timestamp:
18.07.2008 17:36:43 (11 years ago)
Author:
ak19
Message:

Minor change in test for ConnectException?

Files:
1 modified

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 {