Skip to content

Commit af28c27

Browse files
author
Malte Aschermann
committed
fixes typos, wording
1 parent b124510 commit af28c27

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/main/java/myagentproject/App.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ public static void main( final String[] p_args )
6363
if ( p_args.length < 2 )
6464
throw new RuntimeException( "arguments are not set: ASL script, number of agents" );
6565

66-
// global set with agents
66+
// global set of agents
6767
final Set<IAgent<?>> l_agents;
6868

6969
try
7070
(
71-
// stream woth ASL code
71+
// stream of ASL code
7272
final FileInputStream l_stream = new FileInputStream( p_args[0] );
7373
)
7474
{

src/main/java/myagentproject/CStandAloneAction.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public final IFuzzyValue<Boolean> execute( final boolean p_parallel, @Nonnull fi
6565
@Nonnull final List<ITerm> p_argument, @Nonnull final List<ITerm> p_return
6666
)
6767
{
68-
// output of the calling agent and get parameter with correct typing
68+
// print calling agent and correctly formatted parameter
6969
System.out.println(
7070
MessageFormat.format(
7171
"agent {0} calls standalone-action with parameter {1}",
@@ -74,14 +74,14 @@ public final IFuzzyValue<Boolean> execute( final boolean p_parallel, @Nonnull fi
7474
)
7575
);
7676

77-
// create return value with encapsuling Java native type
77+
// create return value with encapsulated Java native type
7878
p_return.add(
7979
CRawTerm.from(
8080
p_argument.get( 0 ).<String>raw().length()
8181
)
8282
);
8383

84-
// return argument for checking is the action successful or failed terminated
84+
// return for checking whether the action terminated successful or failed
8585
return CFuzzyValue.from( true );
8686
}
8787

src/main/java/myagentproject/MyAgentGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ final class MyAgentGenerator extends IBaseAgentGenerator<MyAgent>
5353

5454
Stream.concat(
5555

56-
// we use all build-in actions of LightJason
56+
// we use all built-in actions of LightJason
5757
CCommon.actionsFromPackage(),
5858

59-
// own defined actions
59+
// our custom defined actions
6060
Stream.concat(
6161

6262
// read object actions

0 commit comments

Comments
 (0)