Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make some Java classes proper utilities #534

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
org = "ballerina"
name = "xmldata"
version = "2.7.0"
version = "2.7.1"
authors = ["Ballerina"]
keywords = ["xml", "json"]
repository = "https://github.com/ballerina-platform/module-ballerina-xmldata"
Expand All @@ -15,5 +15,5 @@ graalvmCompatible = true
[[platform.java17.dependency]]
groupId = "io.ballerina.stdlib"
artifactId = "xmldata-native"
version = "2.7.0"
path = "../native/build/libs/xmldata-native-2.7.0.jar"
version = "2.7.1"
path = "../native/build/libs/xmldata-native-2.7.1-SNAPSHOT.jar"
2 changes: 1 addition & 1 deletion ballerina/CompilerPlugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ id = "xmldata-compiler-plugin"
class = "io.ballerina.stdlib.xmldata.compiler.XmldataCompilerPlugin"

[[dependency]]
path = "../compiler-plugin/build/libs/xmldata-compiler-plugin-2.7.0.jar"
path = "../compiler-plugin/build/libs/xmldata-compiler-plugin-2.7.1-SNAPSHOT.jar"
2 changes: 1 addition & 1 deletion ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ modules = [
[[package]]
org = "ballerina"
name = "xmldata"
version = "2.7.0"
version = "2.7.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "test"}
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed
[Fix the mismatch error by `fromXml` API while the field has the name annotation](https://github.com/ballerina-platform/ballerina-standard-library/issues/3802)
[Make some of the Java classes proper utility classes](https://github.com/ballerina-platform/ballerina-standard-library/issues/4902)

## [2.4.3] - 2023-05-12

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
*
* @since 2.3.0
*/
public class MapFromXml {
public final class MapFromXml {

private MapFromXml() {}

@SuppressWarnings("unchecked")
public static Object fromXml(BXml xml, BTypedesc type) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
*
* @since 2.0.2
*/
public class XmlToRecord {
public final class XmlToRecord {

private XmlToRecord() {}

public static Object toRecord(BXml xml, boolean preserveNamespaces, BTypedesc type) {
return toRecord(xml, preserveNamespaces, Constants.UNDERSCORE, type);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
*
* @since 1.1.0
*/
public class XmlDataUtils {
public final class XmlDataUtils {

private XmlDataUtils() {}

private static final String ERROR = "Error";
private static final String ATTRIBUTE_PREFIX = "attribute_";
Expand Down
Loading