Skip to content

Commit

Permalink
Adding missing space for: Performance - Method concatenates strings
Browse files Browse the repository at this point in the history
using + in a loop - TRUNK-4226
  • Loading branch information
dkayiwa committed Jan 27, 2014
1 parent cb40732 commit ee3d190
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -204,7 +204,7 @@ public Map<String, Object> findCountAndPatients(String searchValue, Integer star
for (String name : names) {
if (name.length() > 3)
name = name.substring(0, 3);
newSearch.append(name);
newSearch.append(" ").append(name);
}

String newSearchStr = newSearch.toString().trim();
Expand Down

0 comments on commit ee3d190

Please sign in to comment.