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

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
2 changes: 1 addition & 1 deletion ballerina-tests/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http"
version = "2.10.1"
version = "2.10.2"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "cache"},
Expand Down
2 changes: 1 addition & 1 deletion ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http"
version = "2.10.1"
version = "2.10.2"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "cache"},
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 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Changed
- [[#4634] Use Aliases in GraphQL Error Path](https://github.com/ballerina-platform/ballerina-standard-library/issues/4634)
- [[#4911] Make some of the Java classes proper utility classes](https://github.com/ballerina-platform/ballerina-standard-library/issues/4911)

## [1.10.0] - 2023-09-18

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
/**
* Utility class for Ballerina GraphQL schema types.
*/
public class TypeUtils {
public final class TypeUtils {

private TypeUtils() {}

private static final String UNICODE_REGEX = "\\\\(\\\\*)u\\{([a-fA-F0-9]+)\\}";
private static final Pattern UNICODE_PATTERN = Pattern.compile(UNICODE_REGEX);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
/**
* Utility class to validate GraphQL package services and symbols.
*/
public class Utils {
public final class Utils {

private Utils () {}

public static final String PACKAGE_NAME = "graphql";
public static final String SUBGRAPH_SUB_MODULE_NAME = "graphql.subgraph";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
/**
* This class is used to execute a GraphQL document using the Ballerina GraphQL client.
*/
public class QueryExecutor {
public final class QueryExecutor {

private QueryExecutor () {}

/**
* Executes the GraphQL document when the corresponding Ballerina remote operation is invoked.
Expand Down