Skip to content

Commit 032f2b9

Browse files
angelozerrfbricon
authored andcommitted
fix: Fix Qute test
Signed-off-by: azerr <azerr@redhat.com>
1 parent 2473f4e commit 032f2b9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

projects/qute/projects/maven/qute-quickstart/src/main/java/org/acme/qute/ItemResourceWithFragment.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,5 @@ public TemplateInstance get() {
4242
return Templates.items(items);
4343
}
4444

45-
/**
46-
* This template extension method implements the "discountedPrice" computed
47-
* property.
48-
*/
49-
@TemplateExtension
50-
static BigDecimal discountedPrice(Item item) {
51-
return item.price.multiply(new BigDecimal("0.9"));
52-
}
5345

5446
}

0 commit comments

Comments
 (0)