From 38016074b0dc2c15caf1478f50c2a77d7d312534 Mon Sep 17 00:00:00 2001 From: "harald.bratko" Date: Wed, 7 Dec 2005 14:19:06 +0000 Subject: changed "enum" varianle name, because it is a keyword since jdk1.5 git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@607 d688527b-c9ab-4aba-bd8d-4036d912da1d --- common/src/test/at/gv/egovernment/moa/util/KeyStoreUtilsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/src/test/at/gv/egovernment/moa/util/KeyStoreUtilsTest.java b/common/src/test/at/gv/egovernment/moa/util/KeyStoreUtilsTest.java index 06a72c570..a6d1847ce 100644 --- a/common/src/test/at/gv/egovernment/moa/util/KeyStoreUtilsTest.java +++ b/common/src/test/at/gv/egovernment/moa/util/KeyStoreUtilsTest.java @@ -81,8 +81,8 @@ public class KeyStoreUtilsTest extends TestCase { String keyStoreURL = "file:data/test/security/client-certs/sicher-demo(buergerkarte).p12"; KeyStore ks = KeyStoreUtils.loadKeyStore("pkcs12", keyStoreURL, "buergerkarte"); assertEquals(1, ks.size()); - Enumeration enum = ks.aliases(); - String alias = (String)enum.nextElement(); + Enumeration aliases = ks.aliases(); + String alias = (String)aliases.nextElement(); X509Certificate cert = (X509Certificate)ks.getCertificate(alias); assertEquals(new BigInteger("1044289238331").intValue(), cert.getSerialNumber().intValue()); } -- cgit v1.2.3