diff --git a/build.xml b/build.xml
index fccd009299..353eefd8e4 100644
--- a/build.xml
+++ b/build.xml
@@ -447,7 +447,6 @@
artifactId="cassandra-parent"
version="${version}"/>
-
diff --git a/src/java/org/apache/cassandra/auth/IAuthorizer.java b/src/java/org/apache/cassandra/auth/IAuthorizer.java
index 7e3240ac8e..0aaebcfb07 100644
--- a/src/java/org/apache/cassandra/auth/IAuthorizer.java
+++ b/src/java/org/apache/cassandra/auth/IAuthorizer.java
@@ -48,8 +48,8 @@ public interface IAuthorizer
*
* @param performer User who grants the permissions.
* @param permissions Set of permissions to grant.
- * @param to Name of the role to which the permissions are to be granted.
* @param resource Resource on which to grant the permissions.
+ * @param grantee name of the role to which the permissions are to be granted.
*
* @throws RequestValidationException
* @throws RequestExecutionException
@@ -80,7 +80,7 @@ public interface IAuthorizer
* matching ones.
* @param resource The resource on which permissions are requested. Can be null, in which case permissions on all
* resources should be returned.
- * @param of The name of the role whose permissions are requested. Can be null, in which case permissions of every
+ * @param grantee The name of the role whose permissions are requested. Can be null, in which case permissions of every
* role should be returned.
*
* @return All of the matching permission that the requesting user is authorized to know about.
diff --git a/src/java/org/apache/cassandra/cql3/MultiColumnRelation.java b/src/java/org/apache/cassandra/cql3/MultiColumnRelation.java
index d754968332..7e7a90126d 100644
--- a/src/java/org/apache/cassandra/cql3/MultiColumnRelation.java
+++ b/src/java/org/apache/cassandra/cql3/MultiColumnRelation.java
@@ -36,10 +36,12 @@ import static org.apache.cassandra.cql3.statements.RequestValidations.invalidReq
/**
* A relation using the tuple notation, which typically affects multiple columns.
* Examples:
+ * {@code
* - SELECT ... WHERE (a, b, c) > (1, 'a', 10)
* - SELECT ... WHERE (a, b, c) IN ((1, 2, 3), (4, 5, 6))
* - SELECT ... WHERE (a, b) < ?
* - SELECT ... WHERE (a, b) IN ?
+ * }
*/
public class MultiColumnRelation extends Relation
{
@@ -65,7 +67,9 @@ public class MultiColumnRelation extends Relation
/**
* Creates a multi-column EQ, LT, LTE, GT, or GTE relation.
+ * {@code
* For example: "SELECT ... WHERE (a, b) > (0, 1)"
+ * }
* @param entities the columns on the LHS of the relation
* @param relationType the relation operator
* @param valuesOrMarker a Tuples.Literal instance or a Tuples.Raw marker
diff --git a/src/java/org/apache/cassandra/cql3/Tuples.java b/src/java/org/apache/cassandra/cql3/Tuples.java
index a66c534988..ca436a11dc 100644
--- a/src/java/org/apache/cassandra/cql3/Tuples.java
+++ b/src/java/org/apache/cassandra/cql3/Tuples.java
@@ -277,7 +277,9 @@ public class Tuples
/**
* A raw placeholder for a tuple of values for different multiple columns, each of which may have a different type.
+ * {@code
* For example, "SELECT ... WHERE (col1, col2) > ?".
+ * }
*/
public static class Raw extends AbstractMarker.Raw implements Term.MultiColumnRaw
{
@@ -363,7 +365,9 @@ public class Tuples
}
/**
+ * {@code
* Represents a marker for a single tuple, like "SELECT ... WHERE (a, b, c) > ?"
+ * }
*/
public static class Marker extends AbstractMarker
{
diff --git a/src/java/org/apache/cassandra/cql3/statements/RequestValidations.java b/src/java/org/apache/cassandra/cql3/statements/RequestValidations.java
index ce15e159ef..c822325df3 100644
--- a/src/java/org/apache/cassandra/cql3/statements/RequestValidations.java
+++ b/src/java/org/apache/cassandra/cql3/statements/RequestValidations.java
@@ -35,8 +35,7 @@ public final class RequestValidations
* be thrown.
*
* @param expression the expression to test
- * @param messageTemplate the error message
- * @param messageArgs the message arguments
+ * @param message the error message
* @throws InvalidRequestException if the specified expression is false.
*/
public static void checkTrue(boolean expression, String message) throws InvalidRequestException
@@ -66,8 +65,7 @@ public final class RequestValidations
* Checks that the specified list does not contains duplicates.
*
* @param list the list to test
- * @param messageTemplate the template used to build the error message
- * @param messageArgs the message arguments
+ * @param message the error message
* @throws InvalidRequestException if the specified list contains duplicates.
*/
public static void checkContainsNoDuplicates(List> list, String message) throws InvalidRequestException
diff --git a/src/java/org/apache/cassandra/db/AbstractNativeCell.java b/src/java/org/apache/cassandra/db/AbstractNativeCell.java
index e01d860e69..207a972b4c 100644
--- a/src/java/org/apache/cassandra/db/AbstractNativeCell.java
+++ b/src/java/org/apache/cassandra/db/AbstractNativeCell.java
@@ -37,6 +37,8 @@ import org.apache.cassandra.utils.memory.*;
/**
+ *
+ * {@code
* Packs a CellName AND a Cell into one off-heap representation.
* Layout is:
*
@@ -55,6 +57,8 @@ import org.apache.cassandra.utils.memory.*;
* name extra: lowest 2 bits indicate the clustering size delta (i.e. how many name items are NOT part of the clustering key)
* the next 2 bits indicate the CellNameType
* the next bit indicates if the column is a static or clustered/dynamic column
+ * }
+ *
*/
public abstract class AbstractNativeCell extends AbstractCell implements CellName
{
diff --git a/src/java/org/apache/cassandra/db/AtomicBTreeColumns.java b/src/java/org/apache/cassandra/db/AtomicBTreeColumns.java
index 0f083e3746..0b1a58c5fe 100644
--- a/src/java/org/apache/cassandra/db/AtomicBTreeColumns.java
+++ b/src/java/org/apache/cassandra/db/AtomicBTreeColumns.java
@@ -55,8 +55,9 @@ import static org.apache.cassandra.db.index.SecondaryIndexManager.Updater;
* isolated (in the sense of ACID). Typically a addAll is guaranteed that no
* other thread can see the state where only parts but not all columns have
* been added.
- *
+ *
* WARNING: removing element through getSortedColumns().iterator() is *not* supported
+ *
*/
public class AtomicBTreeColumns extends ColumnFamily
{
diff --git a/src/java/org/apache/cassandra/db/compaction/CompactionManager.java b/src/java/org/apache/cassandra/db/compaction/CompactionManager.java
index 1e06f5e38c..7b45dd351d 100644
--- a/src/java/org/apache/cassandra/db/compaction/CompactionManager.java
+++ b/src/java/org/apache/cassandra/db/compaction/CompactionManager.java
@@ -85,8 +85,9 @@ import org.apache.cassandra.utils.concurrent.OpOrder;
import org.apache.cassandra.utils.*;
/**
+ *
* A singleton which manages a private executor of ongoing compactions.
- *
+ *
* Scheduling for compaction is accomplished by swapping sstables to be compacted into
* a set via DataTracker. New scheduling attempts will ignore currently compacting
* sstables.
@@ -411,7 +412,8 @@ public class CompactionManager implements CompactionManagerMBean
* @param cfs
* @param ranges Ranges that the repair was carried out on
* @param validatedForRepair SSTables containing the repaired ranges. Should be referenced before passing them.
- * @throws InterruptedException, ExecutionException, IOException
+ * @throws InterruptedException
+ * @throws IOException
*/
public void performAnticompaction(ColumnFamilyStore cfs,
Collection> ranges,
diff --git a/src/java/org/apache/cassandra/gms/IFailureDetector.java b/src/java/org/apache/cassandra/gms/IFailureDetector.java
index 92338e9e89..a860c7cc3a 100644
--- a/src/java/org/apache/cassandra/gms/IFailureDetector.java
+++ b/src/java/org/apache/cassandra/gms/IFailureDetector.java
@@ -41,7 +41,7 @@ public interface IFailureDetector
* This method is invoked by any entity wanting to interrogate the status of an endpoint.
* In our case it would be the Gossiper. The Failure Detector will then calculate Phi and
* deem an endpoint as suspicious or alive as explained in the Hayashibara paper.
- *
+ *
* param ep endpoint for which we interpret the inter arrival times.
*/
public void interpret(InetAddress ep);
@@ -50,7 +50,7 @@ public interface IFailureDetector
* This method is invoked by the receiver of the heartbeat. In our case it would be
* the Gossiper. Gossiper inform the Failure Detector on receipt of a heartbeat. The
* FailureDetector will then sample the arrival time as explained in the paper.
- *
+ *
* param ep endpoint being reported.
*/
public void report(InetAddress ep);
diff --git a/src/java/org/apache/cassandra/gms/VersionedValue.java b/src/java/org/apache/cassandra/gms/VersionedValue.java
index a779982bd2..e8cf748d8e 100644
--- a/src/java/org/apache/cassandra/gms/VersionedValue.java
+++ b/src/java/org/apache/cassandra/gms/VersionedValue.java
@@ -43,11 +43,15 @@ import org.apache.commons.lang3.StringUtils;
* application wants to make available to the rest of the nodes in the cluster.
* Whenever a piece of state needs to be disseminated to the rest of cluster wrap
* the state in an instance of ApplicationState and add it to the Gossiper.
- *
+ *
* e.g. if we want to disseminate load information for node A do the following:
- *