From 6c5511020457c39961d069071ac60f7140ec724f Mon Sep 17 00:00:00 2001 From: Lukasz Jader <ljaderdev@gmail.com> Date: Wed, 19 Sep 2012 16:24:10 -0400 Subject: [PATCH] Update polish translation of EmptyRepositoryPage --- src/com/gitblit/utils/ActivityUtils.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/gitblit/utils/ActivityUtils.java b/src/com/gitblit/utils/ActivityUtils.java index d603a49..02a9924 100644 --- a/src/com/gitblit/utils/ActivityUtils.java +++ b/src/com/gitblit/utils/ActivityUtils.java @@ -151,16 +151,16 @@ * @param email * address to query Gravatar * @param width - * size of thumbnail. if width <= 0, the defalt of 60 is used. + * size of thumbnail. if width <= 0, the default of 50 is used. * @return */ public static String getGravatarThumbnailUrl(String email, int width) { if (width <= 0) { - width = 60; + width = 50; } String emailHash = StringUtils.getMD5(email); String url = MessageFormat.format( - "http://www.gravatar.com/avatar/{0}?s={1,number,0}&d=identicon", emailHash, width); + "https://www.gravatar.com/avatar/{0}?s={1,number,0}&d=identicon", emailHash, width); return url; } @@ -174,7 +174,7 @@ * @throws IOException */ public static GravatarProfile getGravatarProfile(String hash) throws IOException { - String url = MessageFormat.format("http://www.gravatar.com/{0}.json", hash); + String url = MessageFormat.format("https://www.gravatar.com/{0}.json", hash); // Gravatar has a complex json structure Type profileType = new TypeToken<Map<String, List<GravatarProfile>>>() { }.getType(); -- Gitblit v1.9.1