From 411b3a21c64f8b6f707ce0c7a6c2167801216d3b Mon Sep 17 00:00:00 2001 From: Michael Hidalgo Date: Tue, 8 Aug 2017 17:03:49 -0600 Subject: [PATCH] =?UTF-8?q?Fixing=20typo=20on=20=E2=80=9CusersSettings?= =?UTF-8?q?=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/elasticsearch/example/realm/CustomRealm.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/elasticsearch/example/realm/CustomRealm.java b/src/main/java/org/elasticsearch/example/realm/CustomRealm.java index bd42d90..8da9a31 100644 --- a/src/main/java/org/elasticsearch/example/realm/CustomRealm.java +++ b/src/main/java/org/elasticsearch/example/realm/CustomRealm.java @@ -158,9 +158,9 @@ public boolean userLookupSupported() { * @return a {@link Map} of the usernames to the information about the user */ private static Map parseUsersMap(Settings settings) { - Map usersSerttings = settings.getGroups("users"); - Map usersMap = new HashMap<>(usersSerttings.size()); - for (Entry entry : usersSerttings.entrySet()) { + Map usersSettings = settings.getGroups("users"); + Map usersMap = new HashMap<>(usersSettings.size()); + for (Entry entry : usersSettings.entrySet()) { Settings userSettings = entry.getValue(); String username = entry.getKey(); String password = userSettings.get("password");