removed duplicated code
This commit is contained in:
parent
99aad3dabd
commit
22dc06fb7d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue