diff src/luan/modules/ThreadLuan.java @ 1302:5345466fa61f

fix last commit and improve stringify
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 13 Jan 2019 17:28:57 -0700
parents a9cc35c71eb0
children 70eecde81820
line wrap: on
line diff
--- a/src/luan/modules/ThreadLuan.java	Sun Jan 13 17:14:45 2019 -0700
+++ b/src/luan/modules/ThreadLuan.java	Sun Jan 13 17:28:57 2019 -0700
@@ -69,7 +69,7 @@
 		} else if( repeating.equals("at_fixed_rate") ) {
 			sf = scheduler.scheduleAtFixedRate(r,delay,delay,TimeUnit.MILLISECONDS);
 		} else {
-			throw new LuanException("repeat must be nil or 'with_fixed_delay' or 'at_fixed_rate'");
+			throw new LuanException("repeating must be nil or 'with_fixed_delay' or 'at_fixed_rate'");
 		}
 		final Closeable c = new Closeable(){public void close(){
 			boolean b = sf.cancel(false);