@@ -99,7 +99,7 @@ public synchronized static Value textSerialize(final Tool tool, final ExprOrOpAr
9999 final TLCState s0 , final TLCState s1 , final int control , final CostModel cm ) {
100100
101101 final String msgInvalidParam = "Serialize error invalid parameters: " ;
102- final String successmsg = "Finish writting to the file with success!" ;
102+ final String successmsg = "Finish writing to the file with success!" ;
103103
104104 final RecordValue opts ;
105105
@@ -142,7 +142,7 @@ public synchronized static Value textSerialize(final Tool tool, final ExprOrOpAr
142142 return new RecordValue (EXEC_NAMES , new Value [] { IntValue .ValZero , new StringValue (successmsg ), new StringValue ("" ) }, false );
143143
144144 } catch (Exception e ) {
145- final StringValue errormsg = new StringValue ("Serialize error writting to the file: " +e .toString ());
145+ final StringValue errormsg = new StringValue ("Serialize error writing to the file: " +e .toString ());
146146 return new RecordValue (EXEC_NAMES , new Value [] { IntValue .ValOne , new StringValue ("" ), errormsg }, false );
147147 }
148148 }
@@ -249,7 +249,7 @@ public static Value ioEnv() throws IOException, InterruptedException {
249249
250250 @ TLAPlusOperator (identifier = "IOExec" , module = "IOUtils" , minLevel = 1 , warn = false )
251251 public static Value ioExec (final Value parameter ) throws IOException , InterruptedException {
252- // 1. Check parameters and covert .
252+ // 1. Check parameters and convert .
253253 if (!(parameter instanceof TupleValue )) {
254254 throw new EvalException (EC .TLC_MODULE_ONE_ARGUMENT_ERROR ,
255255 new String [] { "IOExec" , "sequence" , Values .ppr (parameter .toString ()) });
@@ -267,7 +267,7 @@ public static Value ioExec(final Value parameter) throws IOException, Interrupte
267267
268268 @ TLAPlusOperator (identifier = "IOEnvExec" , module = "IOUtils" , minLevel = 1 , warn = false )
269269 public static Value ioEnvExec (final Value env , final Value parameter ) throws IOException , InterruptedException {
270- // Check env and parameters and covert .
270+ // Check env and parameters and convert .
271271 final RecordValue environment = (RecordValue ) env .toRcd ();
272272 if (environment == null ) {
273273 throw new EvalException (EC .TLC_MODULE_ONE_ARGUMENT_ERROR ,
@@ -290,7 +290,7 @@ public static Value ioEnvExec(final Value env, final Value parameter) throws IOE
290290
291291 @ TLAPlusOperator (identifier = "IOExecTemplate" , module = "IOUtils" , minLevel = 1 , warn = false )
292292 public static Value ioExecTemplate (final Value commandTemplate , final Value parameter ) throws IOException , InterruptedException {
293- // 1. Check parameters and covert .
293+ // 1. Check parameters and convert .
294294 if (!(commandTemplate instanceof TupleValue )) {
295295 throw new EvalException (EC .TLC_MODULE_ONE_ARGUMENT_ERROR ,
296296 new String [] { "IOExecTemplate" , "sequence" , Values .ppr (commandTemplate .toString ()) });
@@ -316,13 +316,13 @@ public static Value ioExecTemplate(final Value commandTemplate, final Value para
316316
317317 @ TLAPlusOperator (identifier = "IOEnvExecTemplate" , module = "IOUtils" , minLevel = 1 , warn = false )
318318 public static Value ioEnvExecTemplate (final Value env , final Value commandTemplate , final Value parameter ) throws IOException , InterruptedException {
319- // Check env and parameters and covert .
319+ // Check env and parameters and convert .
320320 final RecordValue environment = (RecordValue ) env .toRcd ();
321321 if (environment == null ) {
322322 throw new EvalException (EC .TLC_MODULE_ONE_ARGUMENT_ERROR ,
323323 new String [] { "IOEnvExecTemplate" , "record" , Values .ppr (env .toString ()) });
324324 }
325- // 1. Check parameters and covert .
325+ // 1. Check parameters and convert .
326326 if (!(commandTemplate instanceof TupleValue )) {
327327 throw new EvalException (EC .TLC_MODULE_ONE_ARGUMENT_ERROR ,
328328 new String [] { "IOEnvExecTemplate" , "sequence" , Values .ppr (commandTemplate .toString ()) });
0 commit comments