From c1c37366d436dfd9896884ac02431074c5b3bb72 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Mon, 1 Nov 2010 20:47:35 +0000 Subject: Remove superfluous tabs --- blasearch.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/blasearch.java b/blasearch.java index 3ddeb5d..a5af42c 100644 --- a/blasearch.java +++ b/blasearch.java @@ -27,7 +27,7 @@ import java.io.InputStreamReader; import java.util.ArrayList; public class blasearch { - + public static void main(String[] args) throws IOException { String query = ""; @@ -55,9 +55,9 @@ public class blasearch { String[] parts = null; //URL which provides XML response URL url = new URL("http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q="+ query); - + URLConnection urlc = url.openConnection(); - + BufferedReader br = new BufferedReader(new InputStreamReader(urlc.getInputStream())); String line; String[] lines; @@ -69,8 +69,8 @@ public class blasearch { while ((line = br.readLine()) != null) { // Splits the google output by the commas - lines = line.split(","); - + lines = line.split(","); + for(int i=0; i 0){ @@ -97,5 +97,5 @@ public class blasearch { } System.out.print("\n"); } - + } -- cgit v1.2.3