Forum Discussion
shabar
11 years agoContributor
Hi Martin,
Is it possible to have several methods under one class.
Added following method into you original code. That is it.
Then I got following error when there are two methods under one class
Cheers
Is it possible to have several methods under one class.
Added following method into you original code. That is it.
def executeBlank()
{
// do some stuff to prove I've run with right context, etc.
log.info testRunner
log.info context
log.info "return Hello"+
//return "message"
}
Then I got following error when there are two methods under one class
ERROR:org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script27.groovy: 33: unexpected token: } @ line 33, column 4.
Cheers
Related Content
- 4 years ago
- 9 years ago
- 3 years ago
- 7 years ago
Recent Discussions
- 5 days ago
- 9 days ago