X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FAboutPage.java;h=d201e0b4ca99dd4f9669d951361f253d9d886aa0;hb=f9b5addb5d0e7a080e9f314cf6712143f5e26060;hp=4b54a4b63f96e31f6f570b48478eef587000a36d;hpb=fcd3a59e73209164daed5947cd58ff0918b947b8;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/AboutPage.java b/src/main/java/net/pterodactylus/sone/web/AboutPage.java index 4b54a4b..d201e0b 100644 --- a/src/main/java/net/pterodactylus/sone/web/AboutPage.java +++ b/src/main/java/net/pterodactylus/sone/web/AboutPage.java @@ -1,5 +1,5 @@ /* - * Sone - AboutPage.java - Copyright © 2010–2013 David Roden + * Sone - AboutPage.java - Copyright © 2010–2016 David Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,11 +29,11 @@ import net.pterodactylus.util.version.Version; */ public class AboutPage extends SoneTemplatePage { - private final Version version; + private final String version; private final int year; private final String homepage; - public AboutPage(Template template, WebInterface webInterface, Version version, int year, String homepage) { + public AboutPage(Template template, WebInterface webInterface, String version, int year, String homepage) { super("about.html", template, "Page.About.Title", webInterface, false); this.version = version; this.year = year;