Author: jbellis
Date: Fri May 6 17:34:22 2011
New Revision: 1100296
URL: http://svn.apache.org/viewvc?rev=1100296&view=rev
Log:
fix some docstring errors
Modified:
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/Table.java
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageProxy.java
Modified:
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/Table.java
URL:
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/Table.java?rev=1100296&r1=1100295&r2=1100296&view=diff
==============================================================================
---
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/Table.java
(original)
+++
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/Table.java
Fri May 6 17:34:22 2011
@@ -186,17 +186,15 @@ public class Table
}
/**
- * Take a snapshot of the entire set of column families with a given
timestamp.
+ * Take a snapshot of the entire set of column families with a given
timestamp
*
- * @param clientSuppliedName the tag associated with the name of the
snapshot. This
- * value can be null.
+ * @param snapshotName the tag associated with the name of the snapshot.
This value may not be null
*/
public void snapshot(String snapshotName)
{
+ assert snapshotName != null;
for (ColumnFamilyStore cfStore : columnFamilyStores.values())
- {
cfStore.snapshot(snapshotName);
- }
}
/**
Modified:
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageProxy.java
URL:
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageProxy.java?rev=1100296&r1=1100295&r2=1100296&view=diff
==============================================================================
---
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageProxy.java
(original)
+++
cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageProxy.java
Fri May 6 17:34:22 2011
@@ -188,7 +188,7 @@ public class StorageProxy implements Sto
* said write endpoint (deletaged to the actual WritePerformer) and wait
for the
* responses based on consistency level.
*
- * @param mutations the mutations to be applied
+ * @param mutation the mutation to be applied
* @param consistency_level the consistency level for the write operation
* @param performer the WritePerformer in charge of appliying the mutation
* given the list of write endpoints (either standardWritePerformer for