From 37e7cf08a4558ab3a642ba9ee98cbf390b38acad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20M=C3=BCller?= Date: Wed, 9 Jul 2014 16:33:39 +0000 Subject: [PATCH] rename getByIdInVocabulary --- .../java/eu/etaxonomy/cdm/ext/geo/EditGeoServiceTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cdmlib-ext/src/test/java/eu/etaxonomy/cdm/ext/geo/EditGeoServiceTest.java b/cdmlib-ext/src/test/java/eu/etaxonomy/cdm/ext/geo/EditGeoServiceTest.java index fb305ccc40..ea5a0b32a2 100644 --- a/cdmlib-ext/src/test/java/eu/etaxonomy/cdm/ext/geo/EditGeoServiceTest.java +++ b/cdmlib-ext/src/test/java/eu/etaxonomy/cdm/ext/geo/EditGeoServiceTest.java @@ -106,14 +106,14 @@ public class EditGeoServiceTest extends CdmTransactionalIntegrationTest { @Test public void testGetWebServiceUrlCountry() throws MalformedURLException, IOException { Set distributions = new HashSet(); - Country germany = termService.getDefinedTermByIdInVocabulary("DEU", Country.uuidCountryVocabulary, Country.class); + Country germany = termService.findByIdInVocabulary("DEU", Country.uuidCountryVocabulary, Country.class); // germany = (Country)termService.find(665); // germany = (Country)termService.find(UUID.fromString("cbe7ce69-2952-4309-85dd-0d7d4a4830a1")); // germany = Country.GERMANY(); distributions.add(Distribution.NewInstance(germany, PresenceTerm.PRESENT())); - distributions.add(Distribution.NewInstance(termService.getDefinedTermByIdInVocabulary("DE", Country.uuidCountryVocabulary, Country.class), PresenceTerm.INTRODUCED())); + distributions.add(Distribution.NewInstance(termService.findByIdInVocabulary("DE", Country.uuidCountryVocabulary, Country.class), PresenceTerm.INTRODUCED())); Map, Color> presenceAbsenceColorMap = new HashMap, Color>(); presenceAbsenceColorMap.put(PresenceTerm.PRESENT(), Color.BLUE); presenceAbsenceColorMap.put(PresenceTerm.INTRODUCED(), Color.BLACK); -- 2.34.1