bugs in 1.10 Class:GeometryStrategies

Yajun Lu
2009-01-20
2013-05-30
  • Yajun Lu
    Yajun Lu
    2009-01-20

    compiling in IntelliJ IDEA 8.0.1:

    public class GeometryStrategies{
          ...................................
          strats.put(GMLConstants.GML_COORDINATES.toLowerCase(),new ParseStrategy(){
                   .................................
                 if(ts.indexOf('\\')>-1){
               // need to escape it
               ts = ts.replaceAll("\\","\\\\");
             }
                  ...............................
                 if(ts.indexOf('\\')>-1){
               // need to escape it
               ts = ts.replaceAll("\\","\\\\");
             }
                  ...............................
           }
           ......................................
    }