From 2e6914ea88f2fdf51f983aa7588ec89f77065f93 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Tue, 13 Mar 2018 16:07:16 +0900 Subject: [PATCH] Add missing super() calls Closes gh-12459 --- .../boot/actuate/cassandra/CassandraHealthIndicator.java | 1 + .../boot/actuate/couchbase/CouchbaseHealthIndicator.java | 1 + 2 files changed, 2 insertions(+) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraHealthIndicator.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraHealthIndicator.java index 6d8e491d18..efaf04626c 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraHealthIndicator.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraHealthIndicator.java @@ -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; } diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/couchbase/CouchbaseHealthIndicator.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/couchbase/CouchbaseHealthIndicator.java index b1a8ee9713..9af7487bc5 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/couchbase/CouchbaseHealthIndicator.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/couchbase/CouchbaseHealthIndicator.java @@ -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; }