diff options
author | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-12-07 14:19:06 +0000 |
---|---|---|
committer | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-12-07 14:19:06 +0000 |
commit | 38016074b0dc2c15caf1478f50c2a77d7d312534 (patch) | |
tree | d5baf8e54230189fb20cab12d7bfa344d1f38307 | |
parent | a159f7f4e4e5a646391a7f51ebc92dcb906c9e3e (diff) | |
download | moa-id-spss-38016074b0dc2c15caf1478f50c2a77d7d312534.tar.gz moa-id-spss-38016074b0dc2c15caf1478f50c2a77d7d312534.tar.bz2 moa-id-spss-38016074b0dc2c15caf1478f50c2a77d7d312534.zip |
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
-rw-r--r-- | common/src/test/at/gv/egovernment/moa/util/KeyStoreUtilsTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
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()); } |