Skip to content

Commit

Permalink
inner-2383:fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dcy10000 committed Apr 28, 2024
1 parent c5dabda commit e772a66
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

package com.actiontech.dble.cluster.values;

import com.sun.org.apache.xerces.internal.impl.dv.util.Base64;

import java.util.Base64;

/**
* Created by huqing.yan on 2017/7/10.
Expand Down Expand Up @@ -39,7 +40,7 @@ public ConfStatus(String info) {
this.params = infoDetail[2];
else if (infoDetail.length == 4) {
this.params = infoDetail[2];
this.extraInfo = new String(Base64.decode(infoDetail[3]));
this.extraInfo = new String(Base64.getDecoder().decode(infoDetail[3]));
} else {
this.params = null;
this.extraInfo = null;
Expand All @@ -66,7 +67,7 @@ public String toString() {
ss.append(params);
if (extraInfo != null) {
ss.append(split);
ss.append(Base64.encode(extraInfo.getBytes()));
ss.append((Base64.getEncoder().encodeToString(extraInfo.getBytes())));
}
}

Expand Down

0 comments on commit e772a66

Please sign in to comment.