Skip to content

Commit

Permalink
Merge branch 'ballerina-platform:master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshMN2345 committed Oct 27, 2023
2 parents 9094b8d + d7d2805 commit 741811e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions ballerina-test-automation/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
swan-lake-latest-version=swan-lake-2201.8.1
swan-lake-latest-version=swan-lake-2201.8.2
swan-lake-latest-spec-version=2023R1
swan-lake-latest-version-display-text=2201.8.1
swan-lake-latest-tool-version=1.4.1
latest-tool-version=1.4.1
swan-lake-latest-version-display-text=2201.8.2
swan-lake-latest-tool-version=1.4.2
latest-tool-version=1.4.2
1-x-channel-latest-version=1.2.13
1-x-channel-latest-spec-version=2020R1
9 changes: 5 additions & 4 deletions examples/programs-and-modules/programs_and_modules.bal
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// This import declaration binds the prefix `io` to the `ballerina/io` module.
// The prefix by default comes form the last part of the module name.
// This import declaration binds the prefix `io` to the `ballerina/io` package.
// The prefix by default comes from the last part of the package name.

// The `ballerina` org name is reserved for the Ballerina library packages.
import ballerina/io;

// `main` function is the program entry point.
// `public` makes function visible outside the module.
// `public` makes the function visible outside the package.
public function main() {
// Here `io:println` means function `println` is in the module bound to prefix `io`.
// Here `io:println` means function `println` is in the package bound to prefix `io`.
io:println("Hello, World!");
}
4 changes: 2 additions & 2 deletions examples/sequence-diagrams/sequence_diagrams.bal
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import ballerina/io;
public function main() returns error? {
// The diagram also has a lifeline for each client object parameter or variable in
// the initialization section, representing the remote system to which the client object is sending messages.
http:Client cl = check new ("https://www.mocky.io");
http:Client cl = check new ("https://run.mocky.io");

// Each remote method call on a client object is represented as a horizontal line
// between the lifeline of the worker making the call and the remote system.
string payload = check cl->get("/v2/5ae082123200006b00510c3d/");
string payload = check cl->get("/v3/7240398e-0435-4457-91b0-0c862f10563f/");

io:println(payload);
return;
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ persistToolVersion=1.2.0-20230908-152500-2ba8c45

# Dev Tools
devToolsVersion=1.2.1-20230914-153500-664cd40
ballerinaCommandVersion=1.4.1
ballerinaCommandVersion=1.4.2

# GraphQL Tool
graphqlVersion=0.8.0-20230914-153500-87f60d6
Expand Down

0 comments on commit 741811e

Please sign in to comment.