From 83957099a370c2bdd2c594bcfcdb71999f9c86dd Mon Sep 17 00:00:00 2001 From: Oliver Lockwood Date: Thu, 3 Nov 2016 19:55:27 +0000 Subject: [PATCH] Add missing Javadoc that the build reported --- build.gradle | 2 +- .../java/uk/sky/cqlmigrate/CassandraClusterFactory.java | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 11ce8df..2e550ea 100644 --- a/build.gradle +++ b/build.gradle @@ -135,4 +135,4 @@ task functional (dependsOn: ['testJar']) << { } } -check.dependsOn(functional) +check.dependsOn(functional, javadoc) diff --git a/src/main/java/uk/sky/cqlmigrate/CassandraClusterFactory.java b/src/main/java/uk/sky/cqlmigrate/CassandraClusterFactory.java index abd03f0..793c13a 100644 --- a/src/main/java/uk/sky/cqlmigrate/CassandraClusterFactory.java +++ b/src/main/java/uk/sky/cqlmigrate/CassandraClusterFactory.java @@ -7,6 +7,12 @@ public class CassandraClusterFactory { /** * Creates an instance of cassandra {@link Cluster} based on the provided configuration * + * @param hosts Addresses of the nodes to add as contact points (as described in + * {@link Cluster.Builder#addContactPoint}). + * @param port The port to use to connect to the Cassandra hosts. + * @param username the username to use to login to Cassandra hosts. + * @param password the password corresponding to {@code username}. + * * @return a configured Cluster */ public static Cluster createCluster(String[] hosts, int port, String username, String password) {