cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject git commit: r/m unused checked exception
Date Wed, 26 Sep 2012 17:55:27 GMT
Updated Branches:
  refs/heads/trunk 16f3d33f3 -> b781ee7d5


r/m unused checked exception


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

Branch: refs/heads/trunk
Commit: b781ee7d52c9f30136ae2ce851c4af6def8df38e
Parents: 16f3d33
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Wed Sep 26 12:54:59 2012 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Wed Sep 26 12:54:59 2012 -0500

----------------------------------------------------------------------
 .../org/apache/cassandra/db/CounterMutation.java   |    2 +-
 src/java/org/apache/cassandra/db/IMutation.java    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/b781ee7d/src/java/org/apache/cassandra/db/CounterMutation.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/CounterMutation.java b/src/java/org/apache/cassandra/db/CounterMutation.java
index b1e48e6..d06df33 100644
--- a/src/java/org/apache/cassandra/db/CounterMutation.java
+++ b/src/java/org/apache/cassandra/db/CounterMutation.java
@@ -118,7 +118,7 @@ public class CounterMutation implements IMutation
         return false;
     }
 
-    public void apply() throws IOException
+    public void apply()
     {
         // transform all CounterUpdateColumn to CounterColumn: accomplished by localCopy
         RowMutation rm = new RowMutation(rowMutation.getTable(), ByteBufferUtil.clone(rowMutation.key()));

http://git-wip-us.apache.org/repos/asf/cassandra/blob/b781ee7d/src/java/org/apache/cassandra/db/IMutation.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/IMutation.java b/src/java/org/apache/cassandra/db/IMutation.java
index cd08b46..1fa397e 100644
--- a/src/java/org/apache/cassandra/db/IMutation.java
+++ b/src/java/org/apache/cassandra/db/IMutation.java
@@ -27,7 +27,7 @@ public interface IMutation
     public String getTable();
     public Collection<UUID> getColumnFamilyIds();
     public ByteBuffer key();
-    public void apply() throws IOException;
+    public void apply();
     public String toString(boolean shallow);
     public void addAll(IMutation m);
 }


Mime
View raw message