Spring cleaning: avoid unnecessary static imports

This commit is contained in:
Sam Brannen 2024-02-23 11:54:15 +01:00
parent 4bd1485ce4
commit d0ffc16efc
3 changed files with 3 additions and 6 deletions

View File

@ -19,10 +19,9 @@ package org.springframework.scheduling.support;
import io.micrometer.common.KeyValue;
import io.micrometer.common.KeyValues;
import org.springframework.scheduling.support.ScheduledTaskObservationDocumentation.LowCardinalityKeyNames;
import org.springframework.util.StringUtils;
import static org.springframework.scheduling.support.ScheduledTaskObservationDocumentation.LowCardinalityKeyNames;
/**
* Default implementation for {@link ScheduledTaskObservationConvention}.
* @author Brian Clozel

View File

@ -17,10 +17,9 @@
package org.springframework.aot;
import org.springframework.core.NativeDetector;
import org.springframework.core.NativeDetector.Context;
import org.springframework.core.SpringProperties;
import static org.springframework.core.NativeDetector.Context;
/**
* Utility for determining if AOT-processed optimizations must be used rather
* than the regular runtime. Strictly for internal use within the framework.

View File

@ -20,12 +20,11 @@ import java.util.function.Predicate;
import com.oracle.svm.core.annotate.Alias;
import com.oracle.svm.core.annotate.RecomputeFieldValue;
import com.oracle.svm.core.annotate.RecomputeFieldValue.Kind;
import com.oracle.svm.core.annotate.Substitute;
import com.oracle.svm.core.annotate.TargetClass;
import org.hibernate.bytecode.spi.BytecodeProvider;
import static com.oracle.svm.core.annotate.RecomputeFieldValue.Kind;
/**
* Hibernate substitution designed to prevent ByteBuddy reachability on native, and to enforce the
* usage of {@code org.hibernate.bytecode.internal.none.BytecodeProviderImpl} with Hibernate 6.3+.