Commit 09e0f1e8 authored by Phillip Webb's avatar Phillip Webb

Merge pull request #12459 from izeye

* pr/12459:
  Add missing super() calls
parents a08deff0 2e6914ea
...@@ -46,6 +46,7 @@ public class CassandraHealthIndicator extends AbstractHealthIndicator { ...@@ -46,6 +46,7 @@ public class CassandraHealthIndicator extends AbstractHealthIndicator {
* @param cassandraOperations the Cassandra operations * @param cassandraOperations the Cassandra operations
*/ */
public CassandraHealthIndicator(CassandraOperations cassandraOperations) { public CassandraHealthIndicator(CassandraOperations cassandraOperations) {
super("Cassandra health check failed");
Assert.notNull(cassandraOperations, "CassandraOperations must not be null"); Assert.notNull(cassandraOperations, "CassandraOperations must not be null");
this.cassandraOperations = cassandraOperations; this.cassandraOperations = cassandraOperations;
} }
......
...@@ -42,6 +42,7 @@ public class CouchbaseHealthIndicator extends AbstractHealthIndicator { ...@@ -42,6 +42,7 @@ public class CouchbaseHealthIndicator extends AbstractHealthIndicator {
} }
public CouchbaseHealthIndicator(CouchbaseOperations couchbaseOperations) { public CouchbaseHealthIndicator(CouchbaseOperations couchbaseOperations) {
super("Couchbase health check failed");
Assert.notNull(couchbaseOperations, "CouchbaseOperations must not be null"); Assert.notNull(couchbaseOperations, "CouchbaseOperations must not be null");
this.operations = couchbaseOperations; this.operations = couchbaseOperations;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment