SLING-6596 - typo: guage -> gauge

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1785238 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/sling/commons/metrics/internal/JSONReporter.java b/src/main/java/org/apache/sling/commons/metrics/internal/JSONReporter.java
index 8e630d0..c7a439f 100644
--- a/src/main/java/org/apache/sling/commons/metrics/internal/JSONReporter.java
+++ b/src/main/java/org/apache/sling/commons/metrics/internal/JSONReporter.java
@@ -13,7 +13,7 @@
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
+ * specific langauge governing permissions and limitations
  * under the License.
  */
 
@@ -163,7 +163,7 @@
                         SortedMap<String, Timer> timers) throws IOException {
         json.object();
         if (!gauges.isEmpty()) {
-            json.key("guages").object();
+            json.key("gauges").object();
             for (Map.Entry<String, Gauge> entry : gauges.entrySet()) {
                 printGauge(entry);
             }
diff --git a/src/main/java/org/apache/sling/commons/metrics/internal/MetricWebConsolePlugin.java b/src/main/java/org/apache/sling/commons/metrics/internal/MetricWebConsolePlugin.java
index 0ebc173..70a7581 100644
--- a/src/main/java/org/apache/sling/commons/metrics/internal/MetricWebConsolePlugin.java
+++ b/src/main/java/org/apache/sling/commons/metrics/internal/MetricWebConsolePlugin.java
@@ -13,7 +13,7 @@
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
+ * specific langauge governing permissions and limitations
  * under the License.
  */
 
@@ -397,7 +397,7 @@
         pw.println("<br>");
         pw.println("<div class='table'>");
         pw.println("<div class='ui-widget-header ui-corner-top buttonGroup'>Gauges</div>");
-        pw.println("<table class='nicetable' id='data-guages'>");
+        pw.println("<table class='nicetable' id='data-gauges'>");
         pw.println("<thead>");
         pw.println("<tr>");
         pw.println("<th class='header'>Name</th>");
diff --git a/src/test/java/org/apache/sling/commons/metrics/internal/JSONReporterTest.java b/src/test/java/org/apache/sling/commons/metrics/internal/JSONReporterTest.java
index 49a6b46..d05c175 100644
--- a/src/test/java/org/apache/sling/commons/metrics/internal/JSONReporterTest.java
+++ b/src/test/java/org/apache/sling/commons/metrics/internal/JSONReporterTest.java
@@ -13,7 +13,7 @@
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
+ * specific langauge governing permissions and limitations
  * under the License.
  */
 
@@ -49,7 +49,7 @@
         Map<String, Object> json = getJSON(registry);
 
         assertTrue(json.containsKey("meters"));
-        assertTrue(json.containsKey("guages"));
+        assertTrue(json.containsKey("gauges"));
         assertTrue(json.containsKey("timers"));
         assertTrue(json.containsKey("counters"));
         assertTrue(json.containsKey("histograms"));
@@ -75,7 +75,7 @@
 
 
         Map<String, Object> json = getJSON(registry);
-        assertTrue(((Map<String, Object>)json.get("guages")).containsKey("test"));
+        assertTrue(((Map<String, Object>)json.get("gauges")).containsKey("test"));
     }
 
     private static Map<String, Object> getJSON(MetricRegistry registry) throws IOException {
@@ -88,4 +88,4 @@
         return new JSONParser(sw.toString()).getParsed();
     }
 
-}
\ No newline at end of file
+}
diff --git a/src/test/java/org/apache/sling/commons/metrics/internal/MetricWebConsolePluginTest.java b/src/test/java/org/apache/sling/commons/metrics/internal/MetricWebConsolePluginTest.java
index 296c9e6..56e44bc 100644
--- a/src/test/java/org/apache/sling/commons/metrics/internal/MetricWebConsolePluginTest.java
+++ b/src/test/java/org/apache/sling/commons/metrics/internal/MetricWebConsolePluginTest.java
@@ -13,7 +13,7 @@
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
+ * specific langauge governing permissions and limitations
  * under the License.
  */
 
@@ -145,7 +145,7 @@
         assertTable("data-counters", page);
         assertTable("data-timers", page);
         assertTable("data-histograms", page);
-        assertTable("data-guages", page);
+        assertTable("data-gauges", page);
     }
 
     private void assertTable(String name, HtmlPage page) {