Skip to content

Commit

Permalink
Merge pull request #514 from vil02/5051_make_some_java_classes_proper…
Browse files Browse the repository at this point in the history
…_utilities

Make some Java classes proper utilities
  • Loading branch information
daneshk authored Nov 2, 2023
2 parents 50fc30f + 86ac1d6 commit 1fc6188
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
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

0 comments on commit 1fc6188

Please sign in to comment.