Revision 2322 org.gvsig.raster.postgis/branches/org.gvsig.raster.postgis_dataaccess_refactoring/org.gvsig.raster.postgis.app.postgisrasterclient/src/main/java/org/gvsig/raster/postgis/app/postgisrasterclient/gui/AddPostGISRasterLayerWizard.java

View differences:

AddPostGISRasterLayerWizard.java
167 167
	 * Loads the ComboBox for listing connections
168 168
	 * @param sel
169 169
	 */
170
    @SuppressWarnings("unchecked")
171 170
	private void loadVectorialDBDatasourcesCombo(MyExplorer sel) {
172 171
    	JComboBox combo = apiUI.getDBCombo();
173 172
        PluginsManager manager = PluginsLocator.getManager();
......
221 220
	 * 
222 221
	 * @param dbSeverExplorerParameters2
223 222
	 */
224
	@SuppressWarnings("unchecked")
225 223
	private void updateTableList(
226 224
			DBServerExplorerParameters dbSeverExplorerParameters2) {
227 225
		if (dbSeverExplorerParameters2 == null) {
......
236 234
				throw new Exception();	
237 235
			}
238 236
			
239
			List parameters = dbExplorer.list();
237
			List<?> parameters = dbExplorer.list();
240 238

  
241
			Iterator iter = parameters.iterator();
239
			Iterator<?> iter = parameters.iterator();
242 240
			DBStoreParameters param = null;
243 241
			apiUI.clearList();
244 242
			while (iter.hasNext()) {
......
299 297
		return false;
300 298
	}
301 299

  
302
	@SuppressWarnings("unchecked")
303 300
	private boolean existsAttr(FeatureType featureType, String attr) {
304
		Iterator it = featureType.iterator();
301
		Iterator<?> it = featureType.iterator();
305 302
		while( it.hasNext() ) {
306 303
			FeatureAttributeDescriptor attribute = (FeatureAttributeDescriptor)it.next();
307 304
			if(attribute.getName().compareTo(attr) == 0) {

Also available in: Unified diff