Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Attila Mészáros <csviri@gmail.com>
  • Loading branch information
csviri committed Mar 29, 2024
1 parent c9ad453 commit 976963a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public String processTemplate(String template, Glue primary,
Context<Glue> context) {

Template hello = engine.parse(template);

return hello.data(createDataWithResources(primary, context)).render();
var data = createDataWithResources(primary, context);
return hello.data(data).render();
}

@SuppressWarnings("rawtypes")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void stringTemplate() {

@Test
void simpleConcurrencyTest() {
int num = 10;
int num = 1;
List<Glue> glueList = testWorkflowList(num);

glueList.forEach(this::create);
Expand Down

0 comments on commit 976963a

Please sign in to comment.