aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/test
diff options
context:
space:
mode:
authorharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2006-02-03 10:27:32 +0000
committerharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2006-02-03 10:27:32 +0000
commitd8c3b67372570fdca6624720862c3e1e2fb4de58 (patch)
treefafd899ca605fe5d92c79957bc38ef3705e683d3 /id.server/src/test
parent7a2f308206acbd78c45d12a1c61a043def40b479 (diff)
downloadmoa-id-spss-d8c3b67372570fdca6624720862c3e1e2fb4de58.tar.gz
moa-id-spss-d8c3b67372570fdca6624720862c3e1e2fb4de58.tar.bz2
moa-id-spss-d8c3b67372570fdca6624720862c3e1e2fb4de58.zip
Changed "enum" variable because it is a keyword within jdk1.5
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@614 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src/test')
-rw-r--r--id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java
index 4bc7d52d6..81cdfb9f8 100644
--- a/id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java
+++ b/id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java
@@ -28,9 +28,9 @@ public class MOAIDAuthInitialiserTest extends UnitTestCase {
try {
KeyStore s = KeyStoreUtils.loadKeyStore("pkcs12","file:C:/Programme/ApacheGroup/abnahme/cert/keystore.p12","changeit");
System.out.println(s.getProvider().getClass().getName());
- Enumeration enum = s.aliases();
- while (enum.hasMoreElements()) {
- String element = (String) enum.nextElement();
+ Enumeration aliases = s.aliases();
+ while (aliases.hasMoreElements()) {
+ String element = (String) aliases.nextElement();
System.out.print(element+":");
System.out.println(s.getCertificate(element).getPublicKey().getAlgorithm());
System.out.println(s.getCertificate(element).getType());