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 #514

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
10 changes: 5 additions & 5 deletions ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
org = "ballerina"
name = "os"
version = "1.8.0"
version = "1.8.1"
authors = ["Ballerina"]
keywords = ["environment"]
repository = "https://github.com/ballerina-platform/module-ballerina-os"
Expand All @@ -15,8 +15,8 @@ graalvmCompatible = true
[[platform.java17.dependency]]
groupId = "io.ballerina.stdlib"
artifactId = "os-native"
version = "1.8.0"
path = "../native/build/libs/os-native-1.8.0.jar"
version = "1.8.1"
path = "../native/build/libs/os-native-1.8.1-SNAPSHOT.jar"

[[platform.java17.dependency]]
groupId = "io.ballerina.stdlib"
Expand All @@ -27,5 +27,5 @@ path = "./lib/io-native-1.6.0.jar"
[[platform.java17.dependency]]
groupId = "io.ballerina.stdlib"
artifactId = "os-test-utils"
version = "1.8.0"
path = "../test-utils/build/libs/os-test-utils-1.8.0.jar"
version = "1.8.1"
path = "../test-utils/build/libs/os-test-utils-1.8.1-SNAPSHOT.jar"
2 changes: 1 addition & 1 deletion ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "os"
version = "1.8.0"
version = "1.8.1"
dependencies = [
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This file contains all the notable changes done to the Ballerina OS package thro

### Changed
- [API docs updated](https://github.com/ballerina-platform/ballerina-standard-library/issues/3463)
- [Make some of the Java classes proper utility classes](https://github.com/ballerina-platform/ballerina-standard-library/issues/5051)

## [1.4.0] - [2022-09-08]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
/**
* @since 0.8.0
*/
public class OSUtils {
public final class OSUtils {

private OSUtils() {}

public static BObject getProcessObject(Process process) throws IOException {
BObject obj = ValueCreator.createObjectValue(getModule(), PROCESS_TYPE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
/**
* @since 0.6.5
*/
public class OSTestUtils {
public final class OSTestUtils {

private OSTestUtils() {}

public static BString testValidEnv() {
return StringUtils.fromString(System.getenv("JAVA_HOME"));
Expand Down
Loading