Merge branch '5.3.x'
This commit is contained in:
commit
7161940b53
|
|
@ -20,9 +20,8 @@ import java.util.Iterator;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
|
||||||
|
|
||||||
import org.springframework.core.metrics.StartupStep;
|
import org.springframework.core.metrics.StartupStep;
|
||||||
|
import org.springframework.lang.NonNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@link StartupStep} implementation for the Java Flight Recorder.
|
* {@link StartupStep} implementation for the Java Flight Recorder.
|
||||||
|
|
@ -115,7 +114,7 @@ class FlightRecorderStartupStep implements StartupStep {
|
||||||
add(key, value.get());
|
add(key, value.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
@NotNull
|
@NonNull
|
||||||
@Override
|
@Override
|
||||||
public Iterator<Tag> iterator() {
|
public Iterator<Tag> iterator() {
|
||||||
return new TagsIterator();
|
return new TagsIterator();
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,12 @@ package org.springframework.expression.spel;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import org.springframework.expression.EvaluationException;
|
import org.springframework.expression.EvaluationException;
|
||||||
import org.springframework.expression.TypeComparator;
|
import org.springframework.expression.TypeComparator;
|
||||||
import org.springframework.expression.spel.support.StandardTypeComparator;
|
import org.springframework.expression.spel.support.StandardTypeComparator;
|
||||||
|
import org.springframework.lang.NonNull;
|
||||||
|
|
||||||
import static org.assertj.core.api.Assertions.assertThat;
|
import static org.assertj.core.api.Assertions.assertThat;
|
||||||
|
|
||||||
|
|
@ -143,7 +143,7 @@ public class StandardTypeComparatorTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int compareTo(@NotNull ComparableType other) {
|
public int compareTo(@NonNull ComparableType other) {
|
||||||
return this.id - other.id;
|
return this.id - other.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ package org.springframework.http;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.springframework.lang.NonNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default implementation of {@link HttpStatusCode}.
|
* Default implementation of {@link HttpStatusCode}.
|
||||||
|
|
@ -79,7 +79,7 @@ final class DefaultHttpStatusCode
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int compareTo(@NotNull HttpStatusCode o) {
|
public int compareTo(@NonNull HttpStatusCode o) {
|
||||||
return Integer.compare(this.value, o.value());
|
return Integer.compare(this.value, o.value());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -134,6 +134,11 @@
|
||||||
<property name="regexp" value="true" />
|
<property name="regexp" value="true" />
|
||||||
<property name="illegalClasses" value="^org\.hamcrest\..+" />
|
<property name="illegalClasses" value="^org\.hamcrest\..+" />
|
||||||
</module>
|
</module>
|
||||||
|
<module name="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck">
|
||||||
|
<property name="id" value="bannedJetbrainsAnnotationsImports"/>
|
||||||
|
<property name="regexp" value="true" />
|
||||||
|
<property name="illegalClasses" value="^org\.jetbrains\.annotations\..+" />
|
||||||
|
</module>
|
||||||
|
|
||||||
<!-- Javadoc Comments -->
|
<!-- Javadoc Comments -->
|
||||||
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck">
|
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue