Skip to content

Commit 3e440b8

Browse files
committed
Remove redundant variable
1 parent 14aef15 commit 3e440b8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

commonmark-ext-yaml-front-matter/src/test/java/org/commonmark/ext/front/matter/YamlFrontMatterTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,7 @@ private Map<String, List<String>> getFrontMatter(String input) {
322322
Node document = PARSER.parse(input);
323323
document.accept(visitor);
324324

325-
Map<String, List<String>> data = visitor.getData();
326-
return data;
325+
return visitor.getData();
327326
}
328327

329328
// Custom node for tests

0 commit comments

Comments
 (0)