Bug 507518 - Nested brackets in template literals breaks the javascript formatter

Fixed the FastJavaPartitionScanner which was failing to make a Template partition (its length gets calculated wrong way).
This resulted into the text highlighting errors as well as the text formatting failures.

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
2 files changed