blob: d90745588e4d68dbfc59a6894c6111dfc71dbcc3 [file] [log] [blame]
def jetbrains = {
if (a) {
return void
}
}
def method = {
try {
// do something
} catch (NumberFormatException e) {
// do something
return redirect(action: 'index')
}
sessionFactory.currentSession.flush()
redirect(action: 'anotherMethod')
}
def method2() {
try {
// do something
} catch (NumberFormatException e) {
// do something
return redirect(action: 'index')
}
sessionFactory.currentSession.flush()
redirect(action: 'anotherMethod')
}