cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject cassandra git commit: remove dead code
Date Sat, 30 Sep 2017 23:08:31 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 6afe13f6f -> 4864ccf61


remove dead code


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

Branch: refs/heads/trunk
Commit: 4864ccf61811f0469dfc77fc83c5313bb77213ee
Parents: 6afe13f
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Sat Sep 30 19:08:04 2017 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Sat Sep 30 19:08:04 2017 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/db/commitlog/CommitLogReader.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/4864ccf6/src/java/org/apache/cassandra/db/commitlog/CommitLogReader.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/commitlog/CommitLogReader.java b/src/java/org/apache/cassandra/db/commitlog/CommitLogReader.java
index 75ef8e9..078bb53 100644
--- a/src/java/org/apache/cassandra/db/commitlog/CommitLogReader.java
+++ b/src/java/org/apache/cassandra/db/commitlog/CommitLogReader.java
@@ -81,7 +81,6 @@ public class CommitLogReader
 
     private static boolean shouldSkip(File file) throws IOException, ConfigurationException
     {
-        CommitLogDescriptor desc = CommitLogDescriptor.fromFileName(file.getName());
         try(RandomAccessReader reader = RandomAccessReader.open(file))
         {
             CommitLogDescriptor.readHeader(reader, DatabaseDescriptor.getEncryptionContext());


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message