From 10cf7b38ffd899a6fbfd4f4df17b48f2ea190aef Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 8 Dec 2010 06:40:42 +0100 Subject: [PATCH] Allow to store arbitrary objects in a template part. --- src/main/java/net/pterodactylus/sone/text/TemplatePart.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/text/TemplatePart.java b/src/main/java/net/pterodactylus/sone/text/TemplatePart.java index 2b27a89..1663e08 100644 --- a/src/main/java/net/pterodactylus/sone/text/TemplatePart.java +++ b/src/main/java/net/pterodactylus/sone/text/TemplatePart.java @@ -55,7 +55,7 @@ public class TemplatePart implements Part { * The value of the variable * @return This template part (for method chaining) */ - public TemplatePart set(String key, String value) { + public TemplatePart set(String key, Object value) { template.set(key, value); return this; } -- 2.7.4