Allow to store arbitrary objects in a template part.
[Sone.git] / src / main / java / net / pterodactylus / sone / text / TemplatePart.java
index 2b27a89..1663e08 100644 (file)
@@ -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;
        }