Revision 34402 branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteclient/wfs/wfs_1_1_0/WFSProtocolHandler1_1_0.java

View differences:

WFSProtocolHandler1_1_0.java
303 303
                                if (CapabilitiesTags.DEFAULTMAXFEATURES.equals(constraint)){
304 304
                                    currentTag = parser.nextTag();
305 305
                                    if(CapabilitiesTags.VALUE.equals(parser.getName())){
306
                                        try{
307
                                            Integer defaultMaxFeatures = new Integer(parser.nextText());
308
                                            this.serviceInfo.setMaxFeatures(defaultMaxFeatures);
309
                                        }catch(Exception e){
310
                                            LOG.error("Error parsing the DefaultMaxFeatures attribute", e);
311
                                        }
306
                                    	Integer defaultMaxFeatures = new Integer(parser.nextText());
307
                                    	this.serviceInfo.setMaxFeatures(defaultMaxFeatures.intValue());
312 308
                                    }
313 309
                                }
314 310
                            }

Also available in: Unified diff