提交 a8f518e0 编写于 作者: M marco

Use of class Base64 in a static way

上级 00e16266
......@@ -44,7 +44,7 @@ public class FullDuplexHttpStream {
private static String basicAuth(String userInfo) {
if (userInfo != null)
return "Basic "+new String(new Base64().encodeBase64(userInfo.getBytes()));
return "Basic "+new String(Base64.encodeBase64(userInfo.getBytes()));
return null;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册