Skip to content

Commit 00a8153

Browse files
committed
chore: fix fmt
Signed-off-by: shuiyisong <xixing.sys@gmail.com>
1 parent 8dfc3d5 commit 00a8153

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ingester-protocol/src/main/java/io/greptime/models/AuthInfo.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ public static AuthInfo noAuthorization() {
5555
* @return the base64 encoded string
5656
*/
5757
public String base64HeaderValue() {
58-
String encoded = Base64.getEncoder().encodeToString(String.format("%s:%s", this.username, this.password).getBytes(StandardCharsets.UTF_8));
58+
String encoded = Base64.getEncoder()
59+
.encodeToString(
60+
String.format("%s:%s", this.username, this.password).getBytes(StandardCharsets.UTF_8));
5961
return String.format("Basic %s", encoded);
6062
}
6163

0 commit comments

Comments
 (0)