eclipse plugin: template parser should skip empty lines

This commit is contained in:
Timotei Dolean 2010-07-27 19:06:49 +00:00
parent 02f96fc169
commit 89460a7ee9

View file

@ -56,7 +56,7 @@ public class TemplateProvider
while ((line = reader.readLine()) != null)
{
// comment
if (line.startsWith("#"))
if (line.startsWith("#") || line.matches("^[\t ]*$"))
continue;
// 0 - template name | 1 - template file