lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r818816 - /lucene/solr/trunk/src/java/org/apache/solr/search/SolrFieldCacheMBean.java
Date Fri, 25 Sep 2009 11:00:15 GMT
Author: shalin
Date: Fri Sep 25 11:00:15 2009
New Revision: 818816

URL: http://svn.apache.org/viewvc?rev=818816&view=rev
Log:
Fixed typos and added a little whitespace in the key name

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/search/SolrFieldCacheMBean.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/search/SolrFieldCacheMBean.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/SolrFieldCacheMBean.java?rev=818816&r1=818815&r2=818816&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/search/SolrFieldCacheMBean.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/search/SolrFieldCacheMBean.java Fri Sep 25
11:00:15 2009
@@ -42,8 +42,8 @@
   public String getName() { return this.getClass().getName(); }
   public String getVersion() { return SolrCore.version; }
   public String getDescription() {
-    return "Provides introspection of the Lucene FiledCache, "
-      +    "this is **NOT** a cache that is manged by Solr.";
+    return "Provides introspection of the Lucene FieldCache, "
+      +    "this is **NOT** a cache that is managed by Solr.";
   }
   public Category getCategory() { return Category.CACHE; } 
   public String getSourceId() { 
@@ -62,14 +62,14 @@
     for (int i = 0; i < entries.length; i++) {
       CacheEntry e = entries[i];
       e.estimateSize();
-      stats.add("entry#" + i, e.toString());
+      stats.add("entry #" + i, e.toString());
     }
 
     Insanity[] insanity = checker.checkSanity(entries);
 
     stats.add("insanity_count", insanity.length);
     for (int i = 0; i < insanity.length; i++) {
-      stats.add("insanity#" + i, insanity[i].toString());
+      stats.add("insanity #" + i, insanity[i].toString());
     }
     return stats;
   }



Mime
View raw message