Skip to content

Commit

Permalink
Merge pull request #24 from mercyblitz/dev-1.x
Browse files Browse the repository at this point in the history
Reimport
  • Loading branch information
mercyblitz authored Jan 9, 2025
2 parents 30ced67 + 1d50c61 commit 19b56a8
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@

package org.springframework.boot.actuate.autoconfigure.endpoint.condition;

import java.lang.annotation.Annotation;
import java.util.Map;
import java.util.Optional;

import org.springframework.boot.actuate.endpoint.EndpointId;
import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
import org.springframework.boot.actuate.endpoint.annotation.EndpointExtension;
Expand All @@ -39,6 +35,10 @@
import org.springframework.util.ClassUtils;
import org.springframework.util.ConcurrentReferenceHashMap;

import java.lang.annotation.Annotation;
import java.util.Map;
import java.util.Optional;

/**
* Base class for {@link Endpoint @Endpoint} related {@link SpringBootCondition}
* implementations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@

package org.springframework.boot.actuate.autoconfigure.endpoint.condition;

import java.util.HashSet;
import java.util.Map;
import java.util.Set;

import org.springframework.boot.actuate.autoconfigure.endpoint.expose.IncludeExcludeEndpointFilter;
import org.springframework.boot.actuate.autoconfigure.endpoint.expose.IncludeExcludeEndpointFilter.DefaultIncludes;
import org.springframework.boot.actuate.endpoint.EndpointId;
Expand All @@ -32,6 +28,10 @@
import org.springframework.core.type.AnnotatedTypeMetadata;
import org.springframework.util.ConcurrentReferenceHashMap;

import java.util.HashSet;
import java.util.Map;
import java.util.Set;

/**
* A condition that checks if an endpoint is available (i.e. enabled and exposed).
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@

package org.springframework.boot.actuate.autoconfigure.endpoint.expose;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;

import org.springframework.boot.actuate.endpoint.EndpointFilter;
import org.springframework.boot.actuate.endpoint.EndpointId;
import org.springframework.boot.actuate.endpoint.ExposableEndpoint;
Expand All @@ -32,6 +24,14 @@
import org.springframework.core.env.Environment;
import org.springframework.util.Assert;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;

/**
* {@link EndpointFilter} that will filter endpoints based on {@code include} and
* {@code exclude} patterns.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@

package org.springframework.boot.actuate.endpoint;

import java.util.HashSet;
import java.util.Locale;
import java.util.Set;
import java.util.regex.Pattern;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import org.springframework.core.env.Environment;
import org.springframework.util.Assert;

import java.util.HashSet;
import java.util.Locale;
import java.util.Set;
import java.util.regex.Pattern;

/**
* An identifier for an actuator endpoint. Endpoint IDs may contain only letters and
* numbers. They must begin with a lower-case letter. Case and syntax characters are
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
<modules>
<module>microsphere-spring-boot-parent</module>
<module>microsphere-spring-boot-dependencies</module>
<module>microsphere-spring-boot-compatible</module>
<module>microsphere-core-spring-boot-starter</module>
<module>microsphere-spring-boot-actuator</module>
<module>microsphere-spring-boot-compatible</module>
</modules>

<distributionManagement>
Expand Down

0 comments on commit 19b56a8

Please sign in to comment.