diff options
author | Arne H Juul <arnej@yahooinc.com> | 2022-01-29 22:14:03 +0000 |
---|---|---|
committer | Arne H Juul <arnej@yahooinc.com> | 2022-01-29 22:14:03 +0000 |
commit | 618abef6f511f40ed2271e63e1c7e460901e1514 (patch) | |
tree | 1cfc018af555e301c322e9aeabf940a9ead27cf3 /config-model | |
parent | 9c4c0b93fea5dfab751d30d535b241e3d9b7d2e6 (diff) |
cosmetic fixes
Diffstat (limited to 'config-model')
-rw-r--r-- | config-model/src/main/javacc/SDParser.jj | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config-model/src/main/javacc/SDParser.jj b/config-model/src/main/javacc/SDParser.jj index f4a6ac1b03d..5b7721c0fe9 100644 --- a/config-model/src/main/javacc/SDParser.jj +++ b/config-model/src/main/javacc/SDParser.jj @@ -1267,17 +1267,14 @@ Object summaryInDocument(DocumentSummary document) : summary.setVsmCommand(SummaryField.VsmCommand.FLATTENSPACE); SummaryInFieldLongOperation op = new SummaryInFieldLongOperation(); - } lbrace() (summaryItem(op) (<NL>)*)* <RBRACE> { - if (op.destinationIterator().hasNext()) { + if (op.destinationIterator().hasNext()) { throw new ParseException("Summaries defined in a document-summary section " + "can not have a 'to' line."); } - op.applyToSummary(summary); - document.add(summary); return null; } |