mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-30 22:39:06 +00:00
Add missing super() calls
Closes gh-12459
This commit is contained in:
+1
@@ -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;
|
||||
}
|
||||
|
||||
+1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user