<commit_before>package org.springframework.cloud.client;

import org.springframework.cloud.client.discovery.DiscoveryHealthIndicator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

/**
 * @author <NAME>
 */
@Configuration
@Order(0)
public class CommonsClientAutoConfiguration {

    @Bean
    public DiscoveryHealthIndicator discoveryHealthIndicator() {
        return new DiscoveryHealthIndicator();
    }
}<commit_msg>Prevent error if Actuator not present<commit_after>package org.springframework.cloud.client;

import org.springframework.boot.actuate.health.HealthIndicator;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.cloud.client.discovery.DiscoveryHealthIndicator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

/**
 * @author <NAME>
 */
@Configuration
@ConditionalOnClass(HealthIndicator.class)
@Order(0)
public class CommonsClientAutoConfiguration {

    @Bean
    public DiscoveryHealthIndicator discoveryHealthIndicator() {
        return new DiscoveryHealthIndicator();
    }
}
{'fraction_non_alphanumeric': 0.09211553473848556, 'fraction_numerical': 0.00156128024980484, 'mean_word_length': 6.284090909090909, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7063087', 'n_tokens_mistral': 320, 'n_tokens_neox': 320, 'n_words': 58}