Remove APIs marked for removal

See gh-30604
This commit is contained in:
Arjen Poutsma
2023-06-07 10:20:27 +02:00
parent 7f6f47b97b
commit df7223f39c
6 changed files with 11 additions and 720 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -420,9 +420,6 @@ class DefaultPartHttpMessageReaderTests {
@SuppressWarnings("removal")
static Stream<Arguments> messageReaders() {
DefaultPartHttpMessageReader streaming = new DefaultPartHttpMessageReader();
streaming.setStreaming(true);
DefaultPartHttpMessageReader inMemory = new DefaultPartHttpMessageReader();
inMemory.setMaxInMemorySize(1000);
@@ -430,7 +427,6 @@ class DefaultPartHttpMessageReaderTests {
onDisk.setMaxInMemorySize(100);
return Stream.of(
arguments(named("streaming", streaming)),
arguments(named("in-memory", inMemory)),
arguments(named("on-disk", onDisk)));
}