summaryrefslogtreecommitdiffstats
path: root/testing/src
diff options
context:
space:
mode:
authorAndy Clement <aclement@vmware.com>2012-03-02 08:15:27 -0800
committerAndy Clement <aclement@vmware.com>2012-03-02 08:15:27 -0800
commit548f8b6a118d06874d511ffcc13602b4ec756d9a (patch)
tree335d9380e1e9f0749a5fadc48966df0a8f80daf6 /testing/src
parent3fa7416111b06016398973d144ddc29cf360ef34 (diff)
downloadaspectj-548f8b6a118d06874d511ffcc13602b4ec756d9a.tar.gz
aspectj-548f8b6a118d06874d511ffcc13602b4ec756d9a.zip
generics
Diffstat (limited to 'testing/src')
-rw-r--r--testing/src/org/aspectj/testing/harness/bridge/AbstractRunSpec.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/testing/src/org/aspectj/testing/harness/bridge/AbstractRunSpec.java b/testing/src/org/aspectj/testing/harness/bridge/AbstractRunSpec.java
index f3d260028..d45037aac 100644
--- a/testing/src/org/aspectj/testing/harness/bridge/AbstractRunSpec.java
+++ b/testing/src/org/aspectj/testing/harness/bridge/AbstractRunSpec.java
@@ -89,7 +89,7 @@ abstract public class AbstractRunSpec implements IRunSpec {
protected final ArrayList<String> paths;
// XXXXXunused protected final ArrayList /*ISourceLocation*/ sourceLocations; // XXX remove?
protected final ArrayList<IRunSpec> children;
- protected final ArrayList /* DirChanges.Spec */dirChanges;
+ protected final ArrayList<DirChanges.Spec> dirChanges;
protected XMLNames xmlNames;
protected String comment;
@@ -775,10 +775,10 @@ abstract public class AbstractRunSpec implements IRunSpec {
private boolean verbose;
/** null unless parent set options for children to consider */
- final private ArrayList /* String */parentOptions;
+ final private ArrayList<String> parentOptions;
public RT() {
- parentOptions = new ArrayList();
+ parentOptions = new ArrayList<String>();
}
public boolean isVerbose() {
@@ -878,15 +878,15 @@ abstract public class AbstractRunSpec implements IRunSpec {
if (LangUtil.isEmpty(validOptions) || LangUtil.isEmpty(parentOptions)) {
return new String[0];
}
- ArrayList result = new ArrayList();
+ ArrayList<String> result = new ArrayList<String>();
// boolean haveOption = false;
for (int i = 0; i < validOptions.length; i++) {
String option = validOptions[i];
if (LangUtil.isEmpty(option)) {
continue;
}
- for (ListIterator iter = parentOptions.listIterator(); iter.hasNext();) {
- String parentOption = (String) iter.next();
+ for (ListIterator<String> iter = parentOptions.listIterator(); iter.hasNext();) {
+ String parentOption = iter.next();
if (parentOption.startsWith(option)) {
result.add(parentOption);
if (absorb) {
@@ -899,7 +899,7 @@ abstract public class AbstractRunSpec implements IRunSpec {
}
/** Get ListIterator that permits removals */
- ListIterator getListIterator() {
+ ListIterator<String> getListIterator() {
return parentOptions.listIterator();
}