We're updating the issue view to help you get more done. 

AbstractSpecializedNCBIEUtilsAccessService calls String.trim() without saving the result

Description

https://github.com/phenotips/phenotips/blob/432597d3d9db17df27f2bfafa09bac31d8921f6b/components/ncbieutils-services/api/src/main/java/org/phenotips/ncbieutils/internal/AbstractSpecializedNCBIEUtilsAccessService.java#L182

Strings are immutable in Java, so just calling result.trim() does nothing. This line should either be changed to result = result.trim(); or deleted altogether.

Environment

None

Status

Assignee

Sergiu Dumitriu

Reporter

Alex Henrie

Labels

None

External issue ID

None

External issue ID

None

Fix versions

Affects versions

1.2.2

Priority

Minor