summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/helper/APIDescGetter.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-06-27 16:08:28 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-29 22:03:01 +0200
commit453d7edc424d6652e209ace4915d96193a79be71 (patch)
tree0a6af928cf7d1fd90ec995ae7d114f08eaf617fd /qadevOOo/runner/helper/APIDescGetter.java
parentb65017a2a7af290f6681da7b197a52efe83d5185 (diff)
Java5 update - convert more code to use generics:wq
Change-Id: I7ea32cad40a6657e4e5886d04af008cb6d67ac6e
Diffstat (limited to 'qadevOOo/runner/helper/APIDescGetter.java')
-rw-r--r--qadevOOo/runner/helper/APIDescGetter.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/qadevOOo/runner/helper/APIDescGetter.java b/qadevOOo/runner/helper/APIDescGetter.java
index 7dad332e2908..fb7a12a188c6 100644
--- a/qadevOOo/runner/helper/APIDescGetter.java
+++ b/qadevOOo/runner/helper/APIDescGetter.java
@@ -22,10 +22,10 @@ import java.io.File;
import java.io.FileReader;
import java.io.InputStream;
import java.io.InputStreamReader;
-
import java.util.ArrayList;
import java.util.Collections;
import java.util.StringTokenizer;
+import java.util.jar.JarEntry;
import share.DescEntry;
import share.DescGetter;
@@ -576,7 +576,7 @@ public class APIDescGetter extends DescGetter
java.util.jar.JarFile f = ((java.net.JarURLConnection) con).getJarFile();
// Enumerate over all entries
- java.util.Enumeration e = f.entries();
+ java.util.Enumeration<JarEntry> e = f.entries();
String sStartModule = "/" + module + "/";
while (e.hasMoreElements())
@@ -876,7 +876,7 @@ public class APIDescGetter extends DescGetter
java.util.jar.JarFile f = ((java.net.JarURLConnection) con).getJarFile();
// Enumerate over all entries
- java.util.Enumeration e = f.entries();
+ java.util.Enumeration<JarEntry> e = f.entries();
while (e.hasMoreElements())
{
@@ -913,7 +913,7 @@ public class APIDescGetter extends DescGetter
for (int i = 0; i < scenarioList.size(); i++)
{
- scenario[i] = (String) scenarioList.get(i);
+ scenario[i] = scenarioList.get(i);
}
return scenario;