Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
08/06/08 17:17:55 (5 months ago)
Author:
mseaton
Message:

synchronization_bidirectional_branch: merge from [4734] to [5181].

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/branches/data_synchronization_bidirectional/src/api/org/openmrs/api/impl/ConceptServiceImpl.java

    r4969 r5183  
    280280                int size = concepts.size();  
    281281                if (size > 0){ 
    282                         if (size > 1) 
     282                        if (size > 1){ 
    283283                                log.warn("Multiple concepts found for '" + name + "'"); 
     284                                for (Concept c:concepts){ 
     285                                        if (c.getName(Context.getLocale()).getName().compareTo(name) == 0) 
     286                                                return c; 
     287                                } 
     288                        } 
    284289                        return concepts.get(0); 
    285290                }