From 7555d724f08447acbba07edeca2b7b7faa0d34c5 Mon Sep 17 00:00:00 2001 From: Josh Elser Date: Fri, 24 Jan 2020 12:26:57 -0500 Subject: [PATCH] Fix QA nits --- .../main/java/org/apache/hadoop/hbase/http/InfoServer.java | 2 +- .../java/org/apache/hadoop/hbase/http/TestInfoServersACL.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hbase-http/src/main/java/org/apache/hadoop/hbase/http/InfoServer.java b/hbase-http/src/main/java/org/apache/hadoop/hbase/http/InfoServer.java index 8c948adde8ef..6ee37cb95de4 100644 --- a/hbase-http/src/main/java/org/apache/hadoop/hbase/http/InfoServer.java +++ b/hbase-http/src/main/java/org/apache/hadoop/hbase/http/InfoServer.java @@ -113,7 +113,7 @@ AccessControlList buildAdminAcl(Configuration conf) { * {@link #addUnprivilegedServlet(String, String, Class)} instead of this method. * This method will add a servlet which any authenticated user can access. * - * @deprecated Use {@link #addUnprivilegedServet(String, String, Class)} or + * @deprecated Use {@link #addUnprivilegedServlet(String, String, Class)} or * {@link #addPrivilegedServlet(String, String, Class)} instead of this * method which does not state outwardly what kind of authz rules will * be applied to this servlet. diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestInfoServersACL.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestInfoServersACL.java index 612d39406cd4..f99efb7f527f 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestInfoServersACL.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/http/TestInfoServersACL.java @@ -318,12 +318,12 @@ private Pair getLogsPage() throws Exception { } private Pair getMasterDumpPage() throws Exception { - URL url = new URL (getInfoServerHostAndPort() + "/dump"); + URL url = new URL(getInfoServerHostAndPort() + "/dump"); return getUrlContent(url); } private Pair getStacksPage() throws Exception { - URL url = new URL (getInfoServerHostAndPort() + "/stacks"); + URL url = new URL(getInfoServerHostAndPort() + "/stacks"); return getUrlContent(url); }