Changeset 23793

Show
Ignore:
Timestamp:
15.03.2011 17:09:00 (8 years ago)
Author:
davidb
Message:

Changes to take advantage of the more efficient Apache Commons string manipulation classes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/MessageRouter.java

    r22085 r23793  
    4444 
    4545import org.apache.log4j.*; 
     46 
     47import org.apache.commons.lang3.StringUtils; 
    4648 
    4749/** 
     
    271273        // be passed to multiple modules  - they will be in a comma  
    272274        // separated list in the 'to' attribute 
    273         String [] modules = path.split(","); 
     275        String [] modules = StringUtils.split(path, ","); 
    274276         
    275277        for (int j=0; j<modules.length; j++) {