lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r930762 - /lucene/java/branches/flex_1458/src/java/org/apache/lucene/util/BytesRef.java
Date Sun, 04 Apr 2010 22:34:29 GMT
Author: uschindler
Date: Sun Apr  4 22:34:29 2010
New Revision: 930762

URL: http://svn.apache.org/viewvc?rev=930762&view=rev
Log:
Make inner class private, as only singleton allowed

Modified:
    lucene/java/branches/flex_1458/src/java/org/apache/lucene/util/BytesRef.java

Modified: lucene/java/branches/flex_1458/src/java/org/apache/lucene/util/BytesRef.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/flex_1458/src/java/org/apache/lucene/util/BytesRef.java?rev=930762&r1=930761&r2=930762&view=diff
==============================================================================
--- lucene/java/branches/flex_1458/src/java/org/apache/lucene/util/BytesRef.java (original)
+++ lucene/java/branches/flex_1458/src/java/org/apache/lucene/util/BytesRef.java Sun Apr 
4 22:34:29 2010
@@ -198,7 +198,7 @@ public final class BytesRef {
     return utf8SortedAsUTF16SortOrder;
   }
 
-  public static class UTF8SortedAsUTF16Comparator implements Comparator<BytesRef> {
+  private static class UTF8SortedAsUTF16Comparator implements Comparator<BytesRef>
{
     // Only singleton
     private UTF8SortedAsUTF16Comparator() {};
 



Mime
View raw message