From 4e0e8f6707f262ca4ba32886cb8df0a370819c9e Mon Sep 17 00:00:00 2001 From: Ryan McKinley <ryan@apache.org> Date: Sun, 24 Jun 2007 17:35:08 +0000 Subject: [PATCH] javadoc spelling cleanup git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@550264 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/solr/handler/admin/SystemInfoHandler.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/java/org/apache/solr/handler/admin/SystemInfoHandler.java b/src/java/org/apache/solr/handler/admin/SystemInfoHandler.java index 09381d6a321..608cef01c07 100644 --- a/src/java/org/apache/solr/handler/admin/SystemInfoHandler.java +++ b/src/java/org/apache/solr/handler/admin/SystemInfoHandler.java @@ -134,8 +134,8 @@ public class SystemInfoHandler extends RequestHandlerBase } /** - * Try to run a getter function. This is usefull because java 1.6 has a few extra - * usefull functions on the <code>OperatingSystemMXBean</code> + * Try to run a getter function. This is useful because java 1.6 has a few extra + * useful functions on the <code>OperatingSystemMXBean</code> * * If you are running a sun jvm, there are nice functions in: * UnixOperatingSystemMXBean and com.sun.management.OperatingSystemMXBean @@ -144,7 +144,7 @@ public class SystemInfoHandler extends RequestHandlerBase */ static void addGetterIfAvaliable( Object obj, String getter, NamedList<Object> info ) { - // This is a 1.6 functon, so lets do a little magic to *try* to make it work + // This is a 1.6 function, so lets do a little magic to *try* to make it work try { String n = Character.toUpperCase( getter.charAt(0) ) + getter.substring( 1 ); Method m = obj.getClass().getMethod( "get" + n ); @@ -158,7 +158,7 @@ public class SystemInfoHandler extends RequestHandlerBase /** - * Utility function to execute a funciton + * Utility function to execute a function */ private static String execute( String cmd ) {