cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jasobr...@apache.org
Subject [1/3] cassandra git commit: ninja-fix to make an EnumSet a static and final field, not an instance field.
Date Wed, 02 Sep 2015 05:23:56 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-3.0 ae669b0b3 -> 5f02f202f


ninja-fix to make an EnumSet a static and final field, not an instance field.


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/c457dce6
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/c457dce6
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/c457dce6

Branch: refs/heads/cassandra-3.0
Commit: c457dce647c1b1b16ab95a920ab12aa36a55cb7e
Parents: 2267d79
Author: Jason Brown <jasedbrown@gmail.com>
Authored: Tue Sep 1 22:19:25 2015 -0700
Committer: Jason Brown <jasedbrown@gmail.com>
Committed: Tue Sep 1 22:19:25 2015 -0700

----------------------------------------------------------------------
 src/java/org/apache/cassandra/net/MessageDeliveryTask.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c457dce6/src/java/org/apache/cassandra/net/MessageDeliveryTask.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/net/MessageDeliveryTask.java b/src/java/org/apache/cassandra/net/MessageDeliveryTask.java
index 06caf94..a16f53f 100644
--- a/src/java/org/apache/cassandra/net/MessageDeliveryTask.java
+++ b/src/java/org/apache/cassandra/net/MessageDeliveryTask.java
@@ -78,7 +78,7 @@ public class MessageDeliveryTask implements Runnable
             Gossiper.instance.setLastProcessedMessageAt(constructionTime);
     }
 
-    EnumSet<MessagingService.Verb> GOSSIP_VERBS = EnumSet.of(MessagingService.Verb.GOSSIP_DIGEST_ACK,
+    private static final EnumSet<MessagingService.Verb> GOSSIP_VERBS = EnumSet.of(MessagingService.Verb.GOSSIP_DIGEST_ACK,
                                                              MessagingService.Verb.GOSSIP_DIGEST_ACK2,
                                                              MessagingService.Verb.GOSSIP_DIGEST_SYN);
 }


Mime
View raw message