cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdusba...@apache.org
Subject svn commit: r899850 - in /incubator/cassandra/trunk/src/java/org/apache/cassandra: db/ io/util/ net/ service/ utils/
Date Sat, 16 Jan 2010 00:20:52 GMT
Author: gdusbabek
Date: Sat Jan 16 00:20:51 2010
New Revision: 899850

URL: http://svn.apache.org/viewvc?rev=899850&view=rev
Log:
Remove 'final' from all class declarations. Patch by Jeff Hodges, reviewed by Gary Dusbabek.
CASSANDRA-706

Modified:
    incubator/cassandra/trunk/src/java/org/apache/cassandra/db/Column.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamily.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/db/CommitLog.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/db/DBConstants.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/db/SuperColumn.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/io/util/BufferedRandomAccessFile.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/net/ProtocolHeader.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/service/AntiEntropyService.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageLoadBalancer.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StreamManager.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/utils/BloomCalculations.java
    incubator/cassandra/trunk/src/java/org/apache/cassandra/utils/HashingSchemes.java

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/db/Column.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/db/Column.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/db/Column.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/db/Column.java Sat Jan 16 00:20:51
2010
@@ -36,7 +36,7 @@
  *  with something like PCollections -- http://code.google.com
  */
 
-public final class Column implements IColumn
+public class Column implements IColumn
 {
     private static Logger logger_ = Logger.getLogger(Column.class);
 

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamily.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamily.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamily.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamily.java Sat Jan 16
00:20:51 2010
@@ -38,7 +38,7 @@
 import org.apache.cassandra.utils.FBUtilities;
 
 
-public final class ColumnFamily implements IColumnContainer
+public class ColumnFamily implements IColumnContainer
 {
     /* The column serializer for this Column Family. Create based on config. */
     private static ColumnFamilySerializer serializer_ = new ColumnFamilySerializer();

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java Sat
Jan 16 00:20:51 2010
@@ -55,7 +55,7 @@
 import com.google.common.collect.Iterators;
 import com.google.common.base.Predicate;
 
-public final class ColumnFamilyStore implements ColumnFamilyStoreMBean
+public class ColumnFamilyStore implements ColumnFamilyStoreMBean
 {
     private static Logger logger_ = Logger.getLogger(ColumnFamilyStore.class);
 

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/db/CommitLog.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/db/CommitLog.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/db/CommitLog.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/db/CommitLog.java Sat Jan 16 00:20:51
2010
@@ -79,7 +79,7 @@
     private static final Logger logger_ = Logger.getLogger(CommitLog.class);
     private static final Map<String, CommitLogHeader> clHeaders_ = new HashMap<String,
CommitLogHeader>();
 
-    public static final class CommitLogContext
+    public static class CommitLogContext
     {
         /* Commit Log associated with this operation */
         public final String file;

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/db/DBConstants.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/db/DBConstants.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/db/DBConstants.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/db/DBConstants.java Sat Jan 16
00:20:51 2010
@@ -18,7 +18,7 @@
 */
 package org.apache.cassandra.db;
 
-final class DBConstants
+class DBConstants
 {
 	public static final int boolSize_ = 1;
 	public static final int intSize_ = 4;

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/db/SuperColumn.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/db/SuperColumn.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/db/SuperColumn.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/db/SuperColumn.java Sat Jan 16
00:20:51 2010
@@ -33,7 +33,7 @@
 import org.apache.cassandra.utils.FBUtilities;
 
 
-public final class SuperColumn implements IColumn, IColumnContainer
+public class SuperColumn implements IColumn, IColumnContainer
 {
 	private static Logger logger_ = Logger.getLogger(SuperColumn.class);
 

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/io/util/BufferedRandomAccessFile.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/io/util/BufferedRandomAccessFile.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/io/util/BufferedRandomAccessFile.java
(original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/io/util/BufferedRandomAccessFile.java
Sat Jan 16 00:20:51 2010
@@ -36,7 +36,7 @@
  * superclass.
  */
 
-public final class BufferedRandomAccessFile extends RandomAccessFile implements FileDataInput
+public class BufferedRandomAccessFile extends RandomAccessFile implements FileDataInput
 {
     static final int LogBuffSz_ = 16; // 64K buffer
     public static final int BuffSz_ = (1 << LogBuffSz_);

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/net/ProtocolHeader.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/net/ProtocolHeader.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/net/ProtocolHeader.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/net/ProtocolHeader.java Sat Jan
16 00:20:51 2010
@@ -18,7 +18,7 @@
 
 package org.apache.cassandra.net;
 
-public final class ProtocolHeader
+public class ProtocolHeader
 {
     public static final String SERIALIZER = "SERIALIZER";
     public static final String COMPRESSION = "COMPRESSION";

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/service/AntiEntropyService.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/service/AntiEntropyService.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/service/AntiEntropyService.java
(original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/service/AntiEntropyService.java
Sat Jan 16 00:20:51 2010
@@ -772,7 +772,7 @@
     /**
      * A tuple of table and cf.
      */
-    static final class CFPair extends Pair<String,String>
+    static class CFPair extends Pair<String,String>
     {
         public CFPair(String table, String cf)
         {
@@ -785,7 +785,7 @@
      * A tuple of a local and remote tree. One of the trees should be null, but
      * not both.
      */
-    static final class TreePair extends Pair<MerkleTree,MerkleTree>
+    static class TreePair extends Pair<MerkleTree,MerkleTree>
     {
         public TreePair(MerkleTree local, MerkleTree remote)
         {

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageLoadBalancer.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageLoadBalancer.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageLoadBalancer.java
(original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageLoadBalancer.java
Sat Jan 16 00:20:51 2010
@@ -47,7 +47,7 @@
  * keys at an Endpoint. Monitor load information for a 5 minute
  * interval and then do load balancing operations if necessary.
  */
-public final class StorageLoadBalancer implements IEndPointStateChangeSubscriber
+public class StorageLoadBalancer implements IEndPointStateChangeSubscriber
 {
     class LoadBalancer implements Runnable
     {

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageService.java Sat
Jan 16 00:20:51 2010
@@ -57,7 +57,7 @@
  * This class will also maintain histograms of the load information
  * of other nodes in the cluster.
  */
-public final class StorageService implements IEndPointStateChangeSubscriber, StorageServiceMBean
+public class StorageService implements IEndPointStateChangeSubscriber, StorageServiceMBean
 {
     private static Logger logger_ = Logger.getLogger(StorageService.class);     
 

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StreamManager.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StreamManager.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StreamManager.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StreamManager.java Sat
Jan 16 00:20:51 2010
@@ -38,7 +38,7 @@
  * This class manages the streaming of multiple files 
  * one after the other. 
 */
-public final class StreamManager
+public class StreamManager
 {   
     private static Logger logger_ = Logger.getLogger( StreamManager.class );
         

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/utils/BloomCalculations.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/utils/BloomCalculations.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/utils/BloomCalculations.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/utils/BloomCalculations.java Sat
Jan 16 00:20:51 2010
@@ -82,7 +82,7 @@
      * A wrapper class that holds two key parameters for a Bloom Filter: the
      * number of hash functions used, and the number of buckets per element used.
      */
-    public static final class BloomSpecification {
+    public static class BloomSpecification {
         final int K; // number of hash functions.
         final int bucketsPerElement;
 

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/utils/HashingSchemes.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/utils/HashingSchemes.java?rev=899850&r1=899849&r2=899850&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/utils/HashingSchemes.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/utils/HashingSchemes.java Sat
Jan 16 00:20:51 2010
@@ -26,7 +26,7 @@
  * To change this template use File | Settings | File Templates.
  */
 
-public final class HashingSchemes
+public class HashingSchemes
 {
     public static final String SHA_1 = "SHA-1";
     public static final String SHA1 = "SHA1";



Mime
View raw message