forked from I2P_Developers/i2p.i2p
Use new split()
This commit is contained in:
@ -43,9 +43,11 @@ public class SearchHelper extends HelperBase {
|
||||
_query = s;
|
||||
}
|
||||
|
||||
private static final String SS = Character.toString(S);
|
||||
|
||||
private void buildEngineMap() {
|
||||
String config = _context.getProperty(PROP_ENGINES, ENGINES_DEFAULT);
|
||||
String[] args = config.split("" + S);
|
||||
String[] args = DataHelper.split(config, SS);
|
||||
for (int i = 0; i < args.length - 1; i += 2) {
|
||||
String name = args[i];
|
||||
String url = args[i+1];
|
||||
|
Reference in New Issue
Block a user