Revision 40360

View differences:

branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteclient/wmts/struct/WMTSTileMatrixSetLink.java
85 85
		//definido en la etiqueta
86 86
		if(tileMatrixLimits == null)
87 87
			return;
88
		java.util.List<String> idListToRemove = new ArrayList<String>();
88
		java.util.List idListToRemove = new ArrayList();
89 89
		for (int i = 0; i < tileMatrixLimits.size(); i++) {
90 90
			WMTSTileMatrixLimits limits = (WMTSTileMatrixLimits)tileMatrixLimits.get(i);
91 91
			String id = limits.getRefToTileMatrix();
......
111 111
	 * @param idList 
112 112
	 *        List of identifiers
113 113
	 */
114
	private void removeLevelsFromTileMatrix(java.util.List<String> idList) {
114
	private void removeLevelsFromTileMatrix(java.util.List idList) {
115 115
		if(tileMatrixLimits == null || idList == null || idList.size() == 0)
116 116
			return;
117 117
		for (int i = 0; i < idList.size(); i++) {
118
			String id = idList.get(i);
118
			String id = (String) idList.get(i);
119 119
			for (int j = 0; j < tileMatrixLimits.size(); j++) {
120 120
				WMTSTileMatrixLimits limits = (WMTSTileMatrixLimits)tileMatrixLimits.get(j);
121 121
				if(id.equals(limits.getRefToTileMatrix())) {
branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteclient/wfs/request/WFSGetFeatureRequest.java
80 80
		request.append(CapabilitiesTags.WFS_GETFEATURE + " ");
81 81
		request.append(CapabilitiesTags.VERSION + "=\"" + protocolHandler.getVersion() + "\" ");
82 82
		request.append(WFSTTags.WFST_SERVICE + "=\"WFS\" ");
83
		if (status.getMaxFeatures() > 0){
83
		if (status.getMaxFeatures().longValue() > 0){
84 84
            request.append(CapabilitiesTags.MAXFEATURES + "=\"" + status.getMaxFeatures() + "\" ");
85 85
        }
86 86
		if (status.getResultType() == WFSStatus.RESULTYPE_HITS){

Also available in: Unified diff