You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2023/01/11 18:24:29 UTC
[GitHub] [maven-integration-testing] slawekjaranowski commented on a diff in pull request #228: [MNG-7665] Update Jetty to latest Java8 capable version
slawekjaranowski commented on code in PR #228:
URL: https://github.com/apache/maven-integration-testing/pull/228#discussion_r1067321280
##########
core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4470AuthenticatedDeploymentToProxyTest.java:
##########
@@ -92,7 +89,7 @@ public void handle( String target, Request baseRequest, HttpServletRequest reque
if ( auth != null )
{
auth = auth.substring( auth.indexOf( ' ' ) + 1 ).trim();
- auth = B64Code.decode( auth, StandardCharsets.US_ASCII.name() );
+ auth = new String( java.util.Base64.getDecoder().decode( auth ), StandardCharsets.US_ASCII );
Review Comment:
Why not `import java.util.Base64`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org