Skip to content

Commit

Permalink
Removing random changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wikumChamith committed Jun 20, 2024
1 parent eae0e9b commit c0912d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/src/main/java/org/openmrs/Concept.java
Original file line number Diff line number Diff line change
Expand Up @@ -1436,9 +1436,9 @@ public List<Concept> getPossibleValues() {
* @see org.openmrs.Attributable#hydrate(java.lang.String)
*/
@Override
public Concept hydrate(String reference) {
public Concept hydrate(String s) {
try {
return Context.getConceptService().getConceptByReference(reference);
return Context.getConceptService().getConcept(Integer.valueOf(s));
}
catch (Exception e) {
// pass
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.7.0</version>
<version>3.6.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit c0912d9

Please sign in to comment.