Skip to content

Commit

Permalink
Change the fields of ModuleInfo class
Browse files Browse the repository at this point in the history
  • Loading branch information
KavinduZoysa committed Jun 10, 2024
1 parent 3a9b4e9 commit 8b837ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.9.0-20240502-141200-0a49fa42"
distribution-version = "2201.9.0"

[[package]]
org = "ballerinax"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,5 @@ static void addChildrenElements(OMElement rootElement, BXml bXml) {
}
}
}

private boolean isNamespace(String value) {
// starts with XmlItem.XMLNS_NS_URI_PREFIX true else false
return value.startsWith(BXmlItem.XMLNS_NS_URI_PREFIX);
}
}

6 changes: 3 additions & 3 deletions native/src/main/java/io/ballerina/stdlib/mi/ModuleInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
package io.ballerina.stdlib.mi;

public class ModuleInfo {
private static String ballerinaOrgName = "BALLERINA_ORG_NAME";
private static String ballerinaModuleName = "BALLERINA_MODULE_NAME";
private static String ballerinaModuleVersion = "BALLERINA_MODULE_VERSION";
private String ballerinaOrgName = "BALLERINA_ORG_NAME";
private String ballerinaModuleName = "BALLERINA_MODULE_NAME";
private String ballerinaModuleVersion = "BALLERINA_MODULE_VERSION";

public String getOrgName() {
return ballerinaOrgName;
Expand Down

0 comments on commit 8b837ae

Please sign in to comment.