mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
use index of char instead of index of string, if possible
This commit is contained in:
@@ -156,7 +156,7 @@ public class TemplateServlet extends HttpServlet
|
||||
params.put("locale", locale);
|
||||
|
||||
String country = locale;
|
||||
int i = country.indexOf("_");
|
||||
int i = country.indexOf('_');
|
||||
|
||||
if (i > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user