aboutsummaryrefslogtreecommitdiffstats
path: root/bcel-builder/verifier-src/org/aspectj/apache/bcel/verifier/PassVerifier.java
diff options
context:
space:
mode:
authoraclement <aclement>2009-09-09 19:56:20 +0000
committeraclement <aclement>2009-09-09 19:56:20 +0000
commit0a395eb90a627aa707ea289ec42a5dc242d9716d (patch)
tree89a7e5dafed6c158a159cd94cbeee8c5be2da52b /bcel-builder/verifier-src/org/aspectj/apache/bcel/verifier/PassVerifier.java
parent1931657e1b26dbef861bb8e330ef9ae6e282f241 (diff)
downloadaspectj-0a395eb90a627aa707ea289ec42a5dc242d9716d.tar.gz
aspectj-0a395eb90a627aa707ea289ec42a5dc242d9716d.zip
Java5 upgrades
Diffstat (limited to 'bcel-builder/verifier-src/org/aspectj/apache/bcel/verifier/PassVerifier.java')
-rw-r--r--bcel-builder/verifier-src/org/aspectj/apache/bcel/verifier/PassVerifier.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bcel-builder/verifier-src/org/aspectj/apache/bcel/verifier/PassVerifier.java b/bcel-builder/verifier-src/org/aspectj/apache/bcel/verifier/PassVerifier.java
index 236b618e2..20aa49963 100644
--- a/bcel-builder/verifier-src/org/aspectj/apache/bcel/verifier/PassVerifier.java
+++ b/bcel-builder/verifier-src/org/aspectj/apache/bcel/verifier/PassVerifier.java
@@ -77,7 +77,7 @@ import java.util.ArrayList;
* That means, if you really want a new verification run of a certain
* pass you must use a new instance of a given PassVerifier.
*
- * @version $Id: PassVerifier.java,v 1.2 2008/05/28 23:53:00 aclement Exp $
+ * @version $Id: PassVerifier.java,v 1.3 2009/09/09 19:56:20 aclement Exp $
* @author <A HREF="http://www.inf.fu-berlin.de/~ehaase"/>Enver Haase</A>
* @see org.aspectj.apache.bcel.verifier.Verifier
* @see #verify()
@@ -85,7 +85,7 @@ import java.util.ArrayList;
public abstract class PassVerifier{
/** The (warning) messages. */
- private ArrayList messages = new ArrayList(); //Type of elements: String
+ private ArrayList<String> messages = new ArrayList<String>(); //Type of elements: String
/** The VerificationResult cache. */
private VerificationResult verificationResult = null;
@@ -136,7 +136,7 @@ public abstract class PassVerifier{
verify(); // create messages if not already done (cached!)
String[] ret = new String[messages.size()];
for (int i=0; i<messages.size(); i++){
- ret[i] = (String) messages.get(i);
+ ret[i] = messages.get(i);
}
return ret;
}