- Timestamp:
- 07/16/08 12:29:31 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/branches/1.3.x/src/api/org/openmrs/api/impl/ConceptServiceImpl.java
r4531 r4947 275 275 int size = concepts.size(); 276 276 if (size > 0){ 277 if (size > 1) 277 if (size > 1){ 278 278 log.warn("Multiple concepts found for '" + name + "'"); 279 for (Concept c:concepts){ 280 if (c.getName(Context.getLocale()).getName().compareTo(name) == 0) 281 return c; 282 } 283 } 279 284 return concepts.get(0); 280 285 }