From: David ‘Bombe’ Roden Date: Thu, 30 Dec 2010 20:38:17 +0000 (+0100) Subject: Rename variable to fit purpose better. X-Git-Tag: beta-freefall-0.6.2-1~172 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d0ea5680fd220361f0487847e6c8de4477826fdc;p=Sone.git Rename variable to fit purpose better. --- diff --git a/src/main/java/net/pterodactylus/sone/web/IndexPage.java b/src/main/java/net/pterodactylus/sone/web/IndexPage.java index 7562526..2d61cf3 100644 --- a/src/main/java/net/pterodactylus/sone/web/IndexPage.java +++ b/src/main/java/net/pterodactylus/sone/web/IndexPage.java @@ -54,10 +54,10 @@ public class IndexPage extends SoneTemplatePage { @Override protected void processTemplate(Request request, Template template) throws RedirectException { super.processTemplate(request, template); - Sone sone = getCurrentSone(request.getToadletContext()); + Sone currentSone = getCurrentSone(request.getToadletContext()); List allPosts = new ArrayList(); - allPosts.addAll(sone.getPosts()); - for (String friendSoneId : sone.getFriends()) { + allPosts.addAll(currentSone.getPosts()); + for (String friendSoneId : currentSone.getFriends()) { if (!webInterface.getCore().hasSone(friendSoneId)) { continue; }