Live Template Read-Lock/Write-Lock

Currently the templates text is this:

try {
$LOCK$.writeLock().lock();
$SELECTION$
} finally {
$LOCK$.writeLock().unlock();
}

Shouldn't it be:

$LOCK$.writeLock().lock();
try {
$SELECTION$
} finally {
$LOCK$.writeLock().unlock();
}

?

Please sign in to leave a comment.