removed duplicated code

This commit is contained in:
Martijn van Groningen 2016-04-28 16:26:25 +02:00
parent 99aad3dabd
commit 22dc06fb7d
1 changed files with 0 additions and 6 deletions

View File

@ -82,12 +82,6 @@ public final class ScriptMetaData implements MetaData.Custom {
parser.nextToken();
switch (parser.currentName()) {
case "script":
if (parser.nextToken() == Token.VALUE_STRING) {
return parser.text();
} else {
builder.copyCurrentStructure(parser);
}
break;
case "template":
if (parser.nextToken() == Token.VALUE_STRING) {
return parser.text();