Fix missing "since" attributes for Deprecated code
See gh-34989
This commit is contained in:
parent
1e9179a87c
commit
5fbb81de10
|
@ -616,14 +616,14 @@ public class AspectJExpressionPointcut extends AbstractExpressionPointcut
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("rawtypes")
|
@SuppressWarnings("rawtypes")
|
||||||
@Deprecated
|
@Deprecated(since = "4.0") // deprecated by AspectJ
|
||||||
public boolean couldMatchJoinPointsInType(Class someClass) {
|
public boolean couldMatchJoinPointsInType(Class someClass) {
|
||||||
return (contextMatch(someClass) == FuzzyBoolean.YES);
|
return (contextMatch(someClass) == FuzzyBoolean.YES);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("rawtypes")
|
@SuppressWarnings("rawtypes")
|
||||||
@Deprecated
|
@Deprecated(since = "4.0") // deprecated by AspectJ
|
||||||
public boolean couldMatchJoinPointsInType(Class someClass, MatchingContext context) {
|
public boolean couldMatchJoinPointsInType(Class someClass, MatchingContext context) {
|
||||||
return (contextMatch(someClass) == FuzzyBoolean.YES);
|
return (contextMatch(someClass) == FuzzyBoolean.YES);
|
||||||
}
|
}
|
||||||
|
|
|
@ -319,7 +319,7 @@ public class MethodInvocationProceedingJoinPoint implements ProceedingJoinPoint,
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "4.0") // deprecated by AspectJ
|
||||||
public int getColumn() {
|
public int getColumn() {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@ import org.jspecify.annotations.Nullable;
|
||||||
* @deprecated This class should only be used by the runtime-hints agent when instrumenting bytecode
|
* @deprecated This class should only be used by the runtime-hints agent when instrumenting bytecode
|
||||||
* and is not considered public API.
|
* and is not considered public API.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public abstract class InstrumentedBridgeMethods {
|
public abstract class InstrumentedBridgeMethods {
|
||||||
|
|
||||||
private InstrumentedBridgeMethods() {
|
private InstrumentedBridgeMethods() {
|
||||||
|
|
|
@ -43,7 +43,7 @@ import org.springframework.util.StringUtils;
|
||||||
* @deprecated as of 7.0 in favor of the {@code -XX:MissingRegistrationReportingMode=Warn} and
|
* @deprecated as of 7.0 in favor of the {@code -XX:MissingRegistrationReportingMode=Warn} and
|
||||||
* {@code -XX:MissingRegistrationReportingMode=Exit} JVM flags with GraalVM.
|
* {@code -XX:MissingRegistrationReportingMode=Exit} JVM flags with GraalVM.
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true)
|
@Deprecated(since = "7.0", forRemoval = true)
|
||||||
public final class RuntimeHintsAgent {
|
public final class RuntimeHintsAgent {
|
||||||
|
|
||||||
private static boolean loaded = false;
|
private static boolean loaded = false;
|
||||||
|
|
|
@ -34,7 +34,7 @@ import org.springframework.util.Assert;
|
||||||
* @deprecated as of 7.0 in favor of the {@code -XX:MissingRegistrationReportingMode=Warn} and
|
* @deprecated as of 7.0 in favor of the {@code -XX:MissingRegistrationReportingMode=Warn} and
|
||||||
* {@code -XX:MissingRegistrationReportingMode=Exit} JVM flags with GraalVM.
|
* {@code -XX:MissingRegistrationReportingMode=Exit} JVM flags with GraalVM.
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true)
|
@Deprecated(since = "7.0", forRemoval = true)
|
||||||
@SuppressWarnings("removal")
|
@SuppressWarnings("removal")
|
||||||
public final class RuntimeHintsRecorder {
|
public final class RuntimeHintsRecorder {
|
||||||
|
|
||||||
|
|
|
@ -85,13 +85,13 @@ public class DataBufferWrapper implements DataBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public DataBuffer capacity(int capacity) {
|
public DataBuffer capacity(int capacity) {
|
||||||
return this.delegate.capacity(capacity);
|
return this.delegate.capacity(capacity);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public DataBuffer ensureCapacity(int capacity) {
|
public DataBuffer ensureCapacity(int capacity) {
|
||||||
return this.delegate.ensureCapacity(capacity);
|
return this.delegate.ensureCapacity(capacity);
|
||||||
}
|
}
|
||||||
|
@ -173,13 +173,13 @@ public class DataBufferWrapper implements DataBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public DataBuffer slice(int index, int length) {
|
public DataBuffer slice(int index, int length) {
|
||||||
return this.delegate.slice(index, length);
|
return this.delegate.slice(index, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public DataBuffer retainedSlice(int index, int length) {
|
public DataBuffer retainedSlice(int index, int length) {
|
||||||
return this.delegate.retainedSlice(index, length);
|
return this.delegate.retainedSlice(index, length);
|
||||||
}
|
}
|
||||||
|
@ -190,25 +190,25 @@ public class DataBufferWrapper implements DataBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public ByteBuffer asByteBuffer() {
|
public ByteBuffer asByteBuffer() {
|
||||||
return this.delegate.asByteBuffer();
|
return this.delegate.asByteBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public ByteBuffer asByteBuffer(int index, int length) {
|
public ByteBuffer asByteBuffer(int index, int length) {
|
||||||
return this.delegate.asByteBuffer(index, length);
|
return this.delegate.asByteBuffer(index, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0.5")
|
||||||
public ByteBuffer toByteBuffer() {
|
public ByteBuffer toByteBuffer() {
|
||||||
return this.delegate.toByteBuffer();
|
return this.delegate.toByteBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0.5")
|
||||||
public ByteBuffer toByteBuffer(int index, int length) {
|
public ByteBuffer toByteBuffer(int index, int length) {
|
||||||
return this.delegate.toByteBuffer(index, length);
|
return this.delegate.toByteBuffer(index, length);
|
||||||
}
|
}
|
||||||
|
|
|
@ -180,7 +180,7 @@ public class DefaultDataBuffer implements DataBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public DataBuffer capacity(int capacity) {
|
public DataBuffer capacity(int capacity) {
|
||||||
setCapacity(capacity);
|
setCapacity(capacity);
|
||||||
return this;
|
return this;
|
||||||
|
@ -340,7 +340,7 @@ public class DefaultDataBuffer implements DataBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public DefaultDataBuffer slice(int index, int length) {
|
public DefaultDataBuffer slice(int index, int length) {
|
||||||
checkIndex(index, length);
|
checkIndex(index, length);
|
||||||
int oldPosition = this.byteBuffer.position();
|
int oldPosition = this.byteBuffer.position();
|
||||||
|
@ -380,13 +380,13 @@ public class DefaultDataBuffer implements DataBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public ByteBuffer asByteBuffer() {
|
public ByteBuffer asByteBuffer() {
|
||||||
return asByteBuffer(this.readPosition, readableByteCount());
|
return asByteBuffer(this.readPosition, readableByteCount());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public ByteBuffer asByteBuffer(int index, int length) {
|
public ByteBuffer asByteBuffer(int index, int length) {
|
||||||
checkIndex(index, length);
|
checkIndex(index, length);
|
||||||
|
|
||||||
|
@ -397,7 +397,7 @@ public class DefaultDataBuffer implements DataBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0.5")
|
||||||
public ByteBuffer toByteBuffer(int index, int length) {
|
public ByteBuffer toByteBuffer(int index, int length) {
|
||||||
checkIndex(index, length);
|
checkIndex(index, length);
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ public class DefaultDataBufferFactory implements DataBufferFactory {
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public DefaultDataBuffer allocateBuffer() {
|
public DefaultDataBuffer allocateBuffer() {
|
||||||
return allocateBuffer(this.defaultInitialCapacity);
|
return allocateBuffer(this.defaultInitialCapacity);
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,7 +138,7 @@ public final class JettyDataBuffer implements PooledDataBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public DataBuffer capacity(int capacity) {
|
public DataBuffer capacity(int capacity) {
|
||||||
this.delegate.capacity(capacity);
|
this.delegate.capacity(capacity);
|
||||||
return this;
|
return this;
|
||||||
|
@ -225,7 +225,7 @@ public final class JettyDataBuffer implements PooledDataBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public DataBuffer slice(int index, int length) {
|
public DataBuffer slice(int index, int length) {
|
||||||
DefaultDataBuffer delegateSlice = this.delegate.slice(index, length);
|
DefaultDataBuffer delegateSlice = this.delegate.slice(index, length);
|
||||||
if (this.chunk != null) {
|
if (this.chunk != null) {
|
||||||
|
@ -250,19 +250,19 @@ public final class JettyDataBuffer implements PooledDataBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public ByteBuffer asByteBuffer() {
|
public ByteBuffer asByteBuffer() {
|
||||||
return this.delegate.asByteBuffer();
|
return this.delegate.asByteBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public ByteBuffer asByteBuffer(int index, int length) {
|
public ByteBuffer asByteBuffer(int index, int length) {
|
||||||
return this.delegate.asByteBuffer(index, length);
|
return this.delegate.asByteBuffer(index, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0.5")
|
||||||
public ByteBuffer toByteBuffer(int index, int length) {
|
public ByteBuffer toByteBuffer(int index, int length) {
|
||||||
return this.delegate.toByteBuffer(index, length);
|
return this.delegate.toByteBuffer(index, length);
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,7 +65,7 @@ public class JettyDataBufferFactory implements DataBufferFactory {
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public JettyDataBuffer allocateBuffer() {
|
public JettyDataBuffer allocateBuffer() {
|
||||||
DefaultDataBuffer delegate = this.delegate.allocateBuffer();
|
DefaultDataBuffer delegate = this.delegate.allocateBuffer();
|
||||||
return new JettyDataBuffer(this, delegate);
|
return new JettyDataBuffer(this, delegate);
|
||||||
|
|
|
@ -135,7 +135,7 @@ public class NettyDataBuffer implements PooledDataBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public NettyDataBuffer capacity(int capacity) {
|
public NettyDataBuffer capacity(int capacity) {
|
||||||
this.byteBuf.capacity(capacity);
|
this.byteBuf.capacity(capacity);
|
||||||
return this;
|
return this;
|
||||||
|
@ -255,14 +255,14 @@ public class NettyDataBuffer implements PooledDataBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public NettyDataBuffer slice(int index, int length) {
|
public NettyDataBuffer slice(int index, int length) {
|
||||||
ByteBuf slice = this.byteBuf.slice(index, length);
|
ByteBuf slice = this.byteBuf.slice(index, length);
|
||||||
return new NettyDataBuffer(slice, this.dataBufferFactory);
|
return new NettyDataBuffer(slice, this.dataBufferFactory);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public NettyDataBuffer retainedSlice(int index, int length) {
|
public NettyDataBuffer retainedSlice(int index, int length) {
|
||||||
ByteBuf slice = this.byteBuf.retainedSlice(index, length);
|
ByteBuf slice = this.byteBuf.retainedSlice(index, length);
|
||||||
return new NettyDataBuffer(slice, this.dataBufferFactory);
|
return new NettyDataBuffer(slice, this.dataBufferFactory);
|
||||||
|
@ -285,19 +285,19 @@ public class NettyDataBuffer implements PooledDataBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public ByteBuffer asByteBuffer() {
|
public ByteBuffer asByteBuffer() {
|
||||||
return this.byteBuf.nioBuffer();
|
return this.byteBuf.nioBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public ByteBuffer asByteBuffer(int index, int length) {
|
public ByteBuffer asByteBuffer(int index, int length) {
|
||||||
return this.byteBuf.nioBuffer(index, length);
|
return this.byteBuf.nioBuffer(index, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0.5")
|
||||||
public ByteBuffer toByteBuffer(int index, int length) {
|
public ByteBuffer toByteBuffer(int index, int length) {
|
||||||
ByteBuffer result = this.byteBuf.isDirect() ?
|
ByteBuffer result = this.byteBuf.isDirect() ?
|
||||||
ByteBuffer.allocateDirect(length) :
|
ByteBuffer.allocateDirect(length) :
|
||||||
|
|
|
@ -61,7 +61,7 @@ public class NettyDataBufferFactory implements DataBufferFactory {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public NettyDataBuffer allocateBuffer() {
|
public NettyDataBuffer allocateBuffer() {
|
||||||
ByteBuf byteBuf = this.byteBufAllocator.buffer();
|
ByteBuf byteBuf = this.byteBufAllocator.buffer();
|
||||||
return new NettyDataBuffer(byteBuf, this);
|
return new NettyDataBuffer(byteBuf, this);
|
||||||
|
|
|
@ -162,7 +162,7 @@ public class JettyWebSocketHandlerAdapter implements Session.Listener {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public DataBuffer capacity(int capacity) {
|
public DataBuffer capacity(int capacity) {
|
||||||
this.delegate.capacity(capacity);
|
this.delegate.capacity(capacity);
|
||||||
return this;
|
return this;
|
||||||
|
@ -249,7 +249,7 @@ public class JettyWebSocketHandlerAdapter implements Session.Listener {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public DataBuffer slice(int index, int length) {
|
public DataBuffer slice(int index, int length) {
|
||||||
DataBuffer delegateSlice = this.delegate.slice(index, length);
|
DataBuffer delegateSlice = this.delegate.slice(index, length);
|
||||||
return new JettyCallbackDataBuffer(delegateSlice, this.callback);
|
return new JettyCallbackDataBuffer(delegateSlice, this.callback);
|
||||||
|
@ -262,19 +262,19 @@ public class JettyWebSocketHandlerAdapter implements Session.Listener {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public ByteBuffer asByteBuffer() {
|
public ByteBuffer asByteBuffer() {
|
||||||
return this.delegate.asByteBuffer();
|
return this.delegate.asByteBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0")
|
||||||
public ByteBuffer asByteBuffer(int index, int length) {
|
public ByteBuffer asByteBuffer(int index, int length) {
|
||||||
return this.delegate.asByteBuffer(index, length);
|
return this.delegate.asByteBuffer(index, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated(since = "6.0.5")
|
||||||
public ByteBuffer toByteBuffer(int index, int length) {
|
public ByteBuffer toByteBuffer(int index, int length) {
|
||||||
return this.delegate.toByteBuffer(index, length);
|
return this.delegate.toByteBuffer(index, length);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue