]> WPIA git - gigi.git/commitdiff
fix: Avoid ambiguous variable names
authorBenny Baumann <BenBE1987@gmx.net>
Sun, 7 Aug 2016 00:53:17 +0000 (02:53 +0200)
committerBenny Baumann <BenBE1987@gmx.net>
Sun, 7 Aug 2016 11:49:51 +0000 (13:49 +0200)
Change-Id: Ic61fb1f8214b719474d603d496d69cc658ac7b1d

src/org/cacert/gigi/pages/orga/ViewOrgPage.java

index 8dcc06d25e173c550d87ef2945dca561bfe712d6..17ad0707b9737497789c85ecc9b6c002a1d9d84d 100644 (file)
@@ -84,16 +84,16 @@ public class ViewOrgPage extends Page {
         Language lang = getLanguage(req);
         PrintWriter out = resp.getWriter();
         if (idS.length() < DEFAULT_PATH.length() + 2) {
-            final Organisation[] orgas = Organisation.getOrganisations(0, 30);
+            final Organisation[] orgList = Organisation.getOrganisations(0, 30);
             HashMap<String, Object> map = new HashMap<>();
             final List<Organisation> myOrgs = u.getOrganisations(true);
             final boolean orgAss = u.isInGroup(CreateOrgPage.ORG_ASSURER);
             if (orgAss) {
-                map.put("orgas", makeOrgDataset(orgas));
+                map.put("orgas", makeOrgDataset(orgList));
             } else {
                 map.put("orgas", makeOrgDataset(myOrgs.toArray(new Organisation[myOrgs.size()])));
             }
-            this.orgas.output(out, lang, map);
+            orgas.output(out, lang, map);
             return;
         }
         idS = idS.substring(DEFAULT_PATH.length() + 1);