Correction de problème détecté par SonarQube
Bug : Replace the synchronized class "StringBuffer" by an unsynchronized one such as "StringBuilder".
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -92,7 +92,7 @@ public enum DisplayNameMask | ... | @@ -92,7 +92,7 @@ public enum DisplayNameMask |
92 | 92 | ||
93 | public String getDisplayName(DisplayNameConfigurable person) | 93 | public String getDisplayName(DisplayNameConfigurable person) |
94 | { | 94 | { |
95 | - StringBuffer myResult = new StringBuffer(); | 95 | + StringBuilder myResult = new StringBuilder(); |
96 | 96 | ||
97 | if (person.getFirstName() != null) | 97 | if (person.getFirstName() != null) |
98 | { | 98 | { | ... | ... |
-
Please register or login to post a comment