Remove junit internals usage.

This commit is contained in:
Joakim Erdfelt 2023-01-24 13:46:48 -06:00
parent ad344c7d23
commit 53fc33161d
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 2 additions and 3 deletions

View File

@ -79,7 +79,6 @@ import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import org.junit.jupiter.params.provider.ValueSource;
import org.junit.platform.commons.util.StringUtils;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.hamcrest.MatcherAssert.assertThat;
@ -1896,7 +1895,7 @@ public class GzipHandlerTest
@Override
public boolean process(Request request, Response response, Callback callback) throws Exception
{
if (StringUtils.isNotBlank(etag))
if (StringUtil.isNotBlank(etag))
{
response.getHeaders().put("ETag", etag);
String ifnm = request.getHeaders().get("If-None-Match");
@ -1944,7 +1943,7 @@ public class GzipHandlerTest
@Override
public boolean process(Request request, Response response, Callback callback) throws Exception
{
if (StringUtils.isNotBlank(etag))
if (StringUtil.isNotBlank(etag))
{
response.getHeaders().put("ETag", etag);
String ifnm = request.getHeaders().get("If-None-Match");