Skip to content

Commit 54b4d6f

Browse files
committed
Regenerate converters
1 parent 6267f6d commit 54b4d6f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

vertx-mysql-client/src/main/generated/io/vertx/mysqlclient/MySQLAuthOptionsConverter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static void fromJson(Iterable<java.util.Map.Entry<String, Object>> json, MySQLAu
6060
break;
6161
case "serverRsaPublicKeyValue":
6262
if (member.getValue() instanceof String) {
63-
obj.setServerRsaPublicKeyValue(io.vertx.core.buffer.Buffer.buffer(BASE64_DECODER.decode((String)member.getValue())));
63+
obj.setServerRsaPublicKeyValue(io.vertx.core.buffer.Buffer.fromJson((String)member.getValue()));
6464
}
6565
break;
6666
}
@@ -96,7 +96,7 @@ static void toJson(MySQLAuthOptions obj, java.util.Map<String, Object> json) {
9696
json.put("serverRsaPublicKeyPath", obj.getServerRsaPublicKeyPath());
9797
}
9898
if (obj.getServerRsaPublicKeyValue() != null) {
99-
json.put("serverRsaPublicKeyValue", BASE64_ENCODER.encodeToString(obj.getServerRsaPublicKeyValue().getBytes()));
99+
json.put("serverRsaPublicKeyValue", obj.getServerRsaPublicKeyValue().toJson());
100100
}
101101
}
102102
}

vertx-mysql-client/src/main/generated/io/vertx/mysqlclient/MySQLConnectOptionsConverter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ static void fromJson(Iterable<java.util.Map.Entry<String, Object>> json, MySQLCo
5555
break;
5656
case "serverRsaPublicKeyValue":
5757
if (member.getValue() instanceof String) {
58-
obj.setServerRsaPublicKeyValue(io.vertx.core.buffer.Buffer.buffer(BASE64_DECODER.decode((String)member.getValue())));
58+
obj.setServerRsaPublicKeyValue(io.vertx.core.buffer.Buffer.fromJson((String)member.getValue()));
5959
}
6060
break;
6161
case "pipeliningLimit":
@@ -92,7 +92,7 @@ static void toJson(MySQLConnectOptions obj, java.util.Map<String, Object> json)
9292
json.put("serverRsaPublicKeyPath", obj.getServerRsaPublicKeyPath());
9393
}
9494
if (obj.getServerRsaPublicKeyValue() != null) {
95-
json.put("serverRsaPublicKeyValue", BASE64_ENCODER.encodeToString(obj.getServerRsaPublicKeyValue().getBytes()));
95+
json.put("serverRsaPublicKeyValue", obj.getServerRsaPublicKeyValue().toJson());
9696
}
9797
json.put("pipeliningLimit", obj.getPipeliningLimit());
9898
}

0 commit comments

Comments
 (0)