Revision 38531 branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteclient/wmts/request/WMTSRequest.java

View differences:

WMTSRequest.java
183 183
		} catch (SocketTimeoutException e) {
184 184
			throw new IOException();
185 185
		} finally {
186
			is.close();
187
			dos.close();
188
			connection.disconnect();
186
			if(is != null)
187
				is.close();
188
			if(dos != null)
189
				dos.close();
190
			if(connection != null)
191
				connection.disconnect();
189 192
		}
190 193
	}
191 194

  

Also available in: Unified diff