src/main/java/com/gitblit/models/UserPreferences.java
@@ -37,7 +37,7 @@ public final String username; public String locale; private String locale; private final Map<String, UserRepositoryPreferences> repositoryPreferences = new TreeMap<String, UserRepositoryPreferences>(); @@ -58,6 +58,10 @@ return new Locale(locale); } public void setLocale(String locale) { this.locale = locale; } public UserRepositoryPreferences getRepositoryPreferences(String repositoryName) { String key = repositoryName.toLowerCase(); if (!repositoryPreferences.containsKey(key)) {