X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altoslib%2FAltosVersion.java.in;h=a48c532b99fa9cd25eff3c31eb9a3395e46d60a1;hb=6804ead7f7e54ff34b257e10e381dc52d5a61b06;hp=546d4353252e56417dccadc483cef912cb3abfe9;hpb=cb23b992be8ba40c97d8988c134a814a13ccd58c;p=fw%2Faltos diff --git a/altoslib/AltosVersion.java.in b/altoslib/AltosVersion.java.in index 546d4353..a48c532b 100644 --- a/altoslib/AltosVersion.java.in +++ b/altoslib/AltosVersion.java.in @@ -3,7 +3,8 @@ * * 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 - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,14 +16,14 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -package org.altusmetrum.altoslib_7; +package org.altusmetrum.altoslib_11; public class AltosVersion { public final static String version = "@VERSION@"; - public final static String google_maps_api_key = @GOOGLEKEY@; + public final static String google_maps_api_key = "@GOOGLEKEY@"; - static boolean has_google_maps_api_key() { + public static boolean has_google_maps_api_key() { return google_maps_api_key != null && google_maps_api_key.length() > 1; } }