mirror of https://github.com/apache/cassandra
misc cleanup. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774166 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f86d47c242
commit
bd3c6acf33
|
|
@ -58,7 +58,7 @@ import org.cliffc.high_scale_lib.NonBlockingHashSet;
|
|||
* Author : Avinash Lakshman ( alakshman@facebook.com) & Prashant Malik ( pmalik@facebook.com )
|
||||
*/
|
||||
|
||||
public class ColumnFamilyStore implements ColumnFamilyStoreMBean
|
||||
public final class ColumnFamilyStore implements ColumnFamilyStoreMBean
|
||||
{
|
||||
private static Logger logger_ = Logger.getLogger(ColumnFamilyStore.class);
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,10 @@ import java.util.Comparator;
|
|||
|
||||
class FileNameComparator implements Comparator<String>
|
||||
{
|
||||
// 0 - ascending , 1- descending
|
||||
private int order_ = 1 ;
|
||||
|
||||
public static final int Ascending = 0 ;
|
||||
public static final int Descending = 1 ;
|
||||
public static final int Ascending = 0 ;
|
||||
public static final int Descending = 1 ;
|
||||
|
||||
FileNameComparator( int order )
|
||||
{
|
||||
|
|
@ -22,11 +21,4 @@ class FileNameComparator implements Comparator<String>
|
|||
else
|
||||
return ColumnFamilyStore.getIndexFromFileName(f) - ColumnFamilyStore.getIndexFromFileName(f2);
|
||||
}
|
||||
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
if (!(o instanceof FileNameComparator))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue