I have a test case on trunk that was failing because the following
function was not defined:
static public String strReplace(String s1, String target,String
replacement, boolean all )
I have stubbed in the following in order to pass test cases ... is this
example of a patch being shunted forward?
> {
> if( all ){
> Pattern compile = Pattern.compile(target.toString(),
> Pattern.LITERAL);
> Matcher matcher = compile.matcher(s1);
> return
> matcher.replaceAll(Matcher.quoteReplacement(replacement.toString()));
> }
> else {
> Pattern compile = Pattern.compile(target.toString(),
> Pattern.LITERAL);
> Matcher matcher = compile.matcher(s1);
> return
> matcher.replaceFirst(Matcher.quoteReplacement(replacement.toString()));
> }
> }
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel