diff options
author | Luke Bratch <l_bratch@yahoo.co.uk> | 2010-11-01 20:39:35 +0000 |
---|---|---|
committer | Luke Bratch <l_bratch@yahoo.co.uk> | 2010-11-01 20:39:35 +0000 |
commit | 5de942d31d0545ba92db7d4e126a0368feb4dd44 (patch) | |
tree | 4a5c214c0a73fa26d9c87dc3079338718235aef0 | |
parent | 633194465907f1b22c6f35d7cb285a214b01a172 (diff) |
Enforce String type for ArrayList to avoid compilation warning
-rw-r--r-- | blasearch.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blasearch.java b/blasearch.java index 2cd4032..138b995 100644 --- a/blasearch.java +++ b/blasearch.java @@ -61,7 +61,7 @@ public class blasearch { BufferedReader br = new BufferedReader(new InputStreamReader(urlc.getInputStream())); String line; String[] lines; - ArrayList results = new ArrayList(); + ArrayList<String> results = new ArrayList<String>(); ArrayList urls = new ArrayList(); String result = ""; String tempString = ""; |