diff --git a/api/src/main/java/org/openmrs/util/CurrentUsers.java b/api/src/main/java/org/openmrs/util/CurrentUsers.java index 1fdb161024a7..ba9b37e3c367 100644 --- a/api/src/main/java/org/openmrs/util/CurrentUsers.java +++ b/api/src/main/java/org/openmrs/util/CurrentUsers.java @@ -5,12 +5,10 @@ import java.util.List; import java.util.Map; import java.util.TreeMap; - import javax.servlet.http.HttpSession; public class CurrentUsers { - /** * Initialize the current users list. * @@ -57,13 +55,13 @@ public static List getCurrentUsernames(HttpSession httpSession){ for(String value:currentUsers.values()) { userNames.add(value); - } + } - } + } Collections.sort(userNames); return userNames; - } + } }