Project

General

Profile

Revision dc46ea13

IDdc46ea130c0be4281347b83ca7d69c63690e28b3
Parent 725b6f1f
Child 31abf522

Added by Andreas Müller about 3 years ago

fix compilation exception

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/distributionStatus/AreaAndTaxonSettingsConfigWindow.java
303 303

  
304 304
    private UuidAndTitleCache<TaxonNode> getUuidAndTitleCacheFromRowId(Object classificationSelection) {
305 305
        String uuidString = (String) classificationBox.getContainerProperty(classificationSelection, "uuid").getValue();
306
        Property<?> rootNodeContainerProperty = null;
306
        Property<Integer> rootNodeContainerProperty = null;
307 307

  
308 308
        Collection<?> ids = classificationBox.getContainerPropertyIds();
309 309
        //use for loop here because the case of the root node id columns differs between some DBs
......
313 313
				break;
314 314
			}
315 315
		}
316
		int id = (int) rootNodeContainerProperty.getValue();
316
		int id = rootNodeContainerProperty.getValue();
317 317
        String titleCache = (String) classificationBox.getContainerProperty(classificationSelection, "titleCache").getValue();
318 318
        UUID uuid = UUID.fromString(uuidString);
319 319
        UuidAndTitleCache<TaxonNode> parent = new UuidAndTitleCache<>(uuid, id, titleCache);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)