Add missing super() calls

Closes gh-12459
This commit is contained in:
Johnny Lim 2018-03-13 16:07:16 +09:00 committed by Phillip Webb
parent a08deff0ce
commit 2e6914ea88
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ public class CassandraHealthIndicator extends AbstractHealthIndicator {
* @param cassandraOperations the Cassandra operations
*/
public CassandraHealthIndicator(CassandraOperations cassandraOperations) {
super("Cassandra health check failed");
Assert.notNull(cassandraOperations, "CassandraOperations must not be null");
this.cassandraOperations = cassandraOperations;
}

View File

@ -42,6 +42,7 @@ public class CouchbaseHealthIndicator extends AbstractHealthIndicator {
}
public CouchbaseHealthIndicator(CouchbaseOperations couchbaseOperations) {
super("Couchbase health check failed");
Assert.notNull(couchbaseOperations, "CouchbaseOperations must not be null");
this.operations = couchbaseOperations;
}