Skip to content

Commit 616a034

Browse files
committed
Use public visibiliy for converters as ceylon needs it internally
1 parent 0d67ff6 commit 616a034

25 files changed

Lines changed: 75 additions & 76 deletions

src/main/generated/io/vertx/core/DeploymentOptionsConverter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*
2525
* NOTE: This class has been automatically generated from the {@link io.vertx.core.DeploymentOptions} original class using Vert.x codegen.
2626
*/
27-
class DeploymentOptionsConverter {
27+
public class DeploymentOptionsConverter {
2828

29-
static void fromJson(JsonObject json, DeploymentOptions obj) {
29+
public static void fromJson(JsonObject json, DeploymentOptions obj) {
3030
if (json.getValue("config") instanceof JsonObject) {
3131
obj.setConfig(((JsonObject)json.getValue("config")).copy());
3232
}
@@ -72,7 +72,7 @@ static void fromJson(JsonObject json, DeploymentOptions obj) {
7272
}
7373
}
7474

75-
static void toJson(DeploymentOptions obj, JsonObject json) {
75+
public static void toJson(DeploymentOptions obj, JsonObject json) {
7676
if (obj.getConfig() != null) {
7777
json.put("config", obj.getConfig());
7878
}

src/main/generated/io/vertx/core/VertxOptionsConverter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*
2525
* NOTE: This class has been automatically generated from the {@link io.vertx.core.VertxOptions} original class using Vert.x codegen.
2626
*/
27-
class VertxOptionsConverter {
27+
public class VertxOptionsConverter {
2828

29-
static void fromJson(JsonObject json, VertxOptions obj) {
29+
public static void fromJson(JsonObject json, VertxOptions obj) {
3030
if (json.getValue("addressResolverOptions") instanceof JsonObject) {
3131
obj.setAddressResolverOptions(new io.vertx.core.dns.AddressResolverOptions((JsonObject)json.getValue("addressResolverOptions")));
3232
}
@@ -95,7 +95,7 @@ static void fromJson(JsonObject json, VertxOptions obj) {
9595
}
9696
}
9797

98-
static void toJson(VertxOptions obj, JsonObject json) {
98+
public static void toJson(VertxOptions obj, JsonObject json) {
9999
if (obj.getAddressResolverOptions() != null) {
100100
json.put("addressResolverOptions", obj.getAddressResolverOptions().toJson());
101101
}

src/main/generated/io/vertx/core/cli/ArgumentConverter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*
2525
* NOTE: This class has been automatically generated from the {@link io.vertx.core.cli.Argument} original class using Vert.x codegen.
2626
*/
27-
class ArgumentConverter {
27+
public class ArgumentConverter {
2828

29-
static void fromJson(JsonObject json, Argument obj) {
29+
public static void fromJson(JsonObject json, Argument obj) {
3030
if (json.getValue("argName") instanceof String) {
3131
obj.setArgName((String)json.getValue("argName"));
3232
}
@@ -50,7 +50,7 @@ static void fromJson(JsonObject json, Argument obj) {
5050
}
5151
}
5252

53-
static void toJson(Argument obj, JsonObject json) {
53+
public static void toJson(Argument obj, JsonObject json) {
5454
if (obj.getArgName() != null) {
5555
json.put("argName", obj.getArgName());
5656
}

src/main/generated/io/vertx/core/cli/OptionConverter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*
2525
* NOTE: This class has been automatically generated from the {@link io.vertx.core.cli.Option} original class using Vert.x codegen.
2626
*/
27-
class OptionConverter {
27+
public class OptionConverter {
2828

29-
static void fromJson(JsonObject json, Option obj) {
29+
public static void fromJson(JsonObject json, Option obj) {
3030
if (json.getValue("argName") instanceof String) {
3131
obj.setArgName((String)json.getValue("argName"));
3232
}
@@ -70,7 +70,7 @@ static void fromJson(JsonObject json, Option obj) {
7070
}
7171
}
7272

73-
static void toJson(Option obj, JsonObject json) {
73+
public static void toJson(Option obj, JsonObject json) {
7474
if (obj.getArgName() != null) {
7575
json.put("argName", obj.getArgName());
7676
}

src/main/generated/io/vertx/core/datagram/DatagramSocketOptionsConverter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*
2525
* NOTE: This class has been automatically generated from the {@link io.vertx.core.datagram.DatagramSocketOptions} original class using Vert.x codegen.
2626
*/
27-
class DatagramSocketOptionsConverter {
27+
public class DatagramSocketOptionsConverter {
2828

29-
static void fromJson(JsonObject json, DatagramSocketOptions obj) {
29+
public static void fromJson(JsonObject json, DatagramSocketOptions obj) {
3030
if (json.getValue("broadcast") instanceof Boolean) {
3131
obj.setBroadcast((Boolean)json.getValue("broadcast"));
3232
}
@@ -44,7 +44,7 @@ static void fromJson(JsonObject json, DatagramSocketOptions obj) {
4444
}
4545
}
4646

47-
static void toJson(DatagramSocketOptions obj, JsonObject json) {
47+
public static void toJson(DatagramSocketOptions obj, JsonObject json) {
4848
json.put("broadcast", obj.isBroadcast());
4949
json.put("ipV6", obj.isIpV6());
5050
json.put("loopbackModeDisabled", obj.isLoopbackModeDisabled());

src/main/generated/io/vertx/core/dns/AddressResolverOptionsConverter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*
2525
* NOTE: This class has been automatically generated from the {@link io.vertx.core.dns.AddressResolverOptions} original class using Vert.x codegen.
2626
*/
27-
class AddressResolverOptionsConverter {
27+
public class AddressResolverOptionsConverter {
2828

29-
static void fromJson(JsonObject json, AddressResolverOptions obj) {
29+
public static void fromJson(JsonObject json, AddressResolverOptions obj) {
3030
if (json.getValue("cacheMaxTimeToLive") instanceof Number) {
3131
obj.setCacheMaxTimeToLive(((Number)json.getValue("cacheMaxTimeToLive")).intValue());
3232
}
@@ -78,7 +78,7 @@ static void fromJson(JsonObject json, AddressResolverOptions obj) {
7878
}
7979
}
8080

81-
static void toJson(AddressResolverOptions obj, JsonObject json) {
81+
public static void toJson(AddressResolverOptions obj, JsonObject json) {
8282
json.put("cacheMaxTimeToLive", obj.getCacheMaxTimeToLive());
8383
json.put("cacheMinTimeToLive", obj.getCacheMinTimeToLive());
8484
json.put("cacheNegativeTimeToLive", obj.getCacheNegativeTimeToLive());

src/main/generated/io/vertx/core/eventbus/EventBusOptionsConverter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*
2525
* NOTE: This class has been automatically generated from the {@link io.vertx.core.eventbus.EventBusOptions} original class using Vert.x codegen.
2626
*/
27-
class EventBusOptionsConverter {
27+
public class EventBusOptionsConverter {
2828

29-
static void fromJson(JsonObject json, EventBusOptions obj) {
29+
public static void fromJson(JsonObject json, EventBusOptions obj) {
3030
if (json.getValue("acceptBacklog") instanceof Number) {
3131
obj.setAcceptBacklog(((Number)json.getValue("acceptBacklog")).intValue());
3232
}
@@ -166,7 +166,7 @@ static void fromJson(JsonObject json, EventBusOptions obj) {
166166
}
167167
}
168168

169-
static void toJson(EventBusOptions obj, JsonObject json) {
169+
public static void toJson(EventBusOptions obj, JsonObject json) {
170170
json.put("acceptBacklog", obj.getAcceptBacklog());
171171
if (obj.getClientAuth() != null) {
172172
json.put("clientAuth", obj.getClientAuth().name());

src/main/generated/io/vertx/core/file/CopyOptionsConverter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*
2525
* NOTE: This class has been automatically generated from the {@link io.vertx.core.file.CopyOptions} original class using Vert.x codegen.
2626
*/
27-
class CopyOptionsConverter {
27+
public class CopyOptionsConverter {
2828

29-
static void fromJson(JsonObject json, CopyOptions obj) {
29+
public static void fromJson(JsonObject json, CopyOptions obj) {
3030
if (json.getValue("atomicMove") instanceof Boolean) {
3131
obj.setAtomicMove((Boolean)json.getValue("atomicMove"));
3232
}
@@ -41,7 +41,7 @@ static void fromJson(JsonObject json, CopyOptions obj) {
4141
}
4242
}
4343

44-
static void toJson(CopyOptions obj, JsonObject json) {
44+
public static void toJson(CopyOptions obj, JsonObject json) {
4545
json.put("atomicMove", obj.isAtomicMove());
4646
json.put("copyAttributes", obj.isCopyAttributes());
4747
json.put("nofollowLinks", obj.isNofollowLinks());

src/main/generated/io/vertx/core/file/OpenOptionsConverter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*
2525
* NOTE: This class has been automatically generated from the {@link io.vertx.core.file.OpenOptions} original class using Vert.x codegen.
2626
*/
27-
class OpenOptionsConverter {
27+
public class OpenOptionsConverter {
2828

29-
static void fromJson(JsonObject json, OpenOptions obj) {
29+
public static void fromJson(JsonObject json, OpenOptions obj) {
3030
if (json.getValue("append") instanceof Boolean) {
3131
obj.setAppend((Boolean)json.getValue("append"));
3232
}
@@ -62,7 +62,7 @@ static void fromJson(JsonObject json, OpenOptions obj) {
6262
}
6363
}
6464

65-
static void toJson(OpenOptions obj, JsonObject json) {
65+
public static void toJson(OpenOptions obj, JsonObject json) {
6666
json.put("append", obj.isAppend());
6767
json.put("create", obj.isCreate());
6868
json.put("createNew", obj.isCreateNew());

src/main/generated/io/vertx/core/http/GoAwayConverter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*
2525
* NOTE: This class has been automatically generated from the {@link io.vertx.core.http.GoAway} original class using Vert.x codegen.
2626
*/
27-
class GoAwayConverter {
27+
public class GoAwayConverter {
2828

29-
static void fromJson(JsonObject json, GoAway obj) {
29+
public static void fromJson(JsonObject json, GoAway obj) {
3030
if (json.getValue("debugData") instanceof String) {
3131
obj.setDebugData(io.vertx.core.buffer.Buffer.buffer(java.util.Base64.getDecoder().decode((String)json.getValue("debugData"))));
3232
}
@@ -38,7 +38,7 @@ static void fromJson(JsonObject json, GoAway obj) {
3838
}
3939
}
4040

41-
static void toJson(GoAway obj, JsonObject json) {
41+
public static void toJson(GoAway obj, JsonObject json) {
4242
if (obj.getDebugData() != null) {
4343
json.put("debugData", obj.getDebugData().getBytes());
4444
}

0 commit comments

Comments
 (0)