ShellRechargeSolutionsEU / docile-charge-point

Scriptable OCPP charge point simulator and test tool
GNU General Public License v3.0
82 stars 32 forks source link

Rename 'wait' operation to 'sleep' #5

Closed goldobin closed 6 years ago

goldobin commented 6 years ago

The wait method in CoreOps clashes with Java's Object::wait(). It works well if you're running emulator in script mode. In interactive mode ammonite resolves wait as Object::wait(long) instead of CoreOps::wait(FiniteDuration).

This PR renames wait method to sleep

reinierl commented 6 years ago

Dankjewel Alex!