diff options
| author | Jagw <jagw@jagw.co.uk> | 2010-11-01 12:06:33 +0000 | 
|---|---|---|
| committer | Jagw <jagw@jagw.co.uk> | 2010-11-01 12:06:33 +0000 | 
| commit | cb5604b944e0f3054e581b40ac15bf66bd502c5a (patch) | |
| tree | 519a22fa0bff95a37540728600e70a6ef2ff0198 /blasearch.java | |
| parent | 51f2a446d7c18791145638bb6c10cd47c0d17016 (diff) | |
Bratchbot friendly formatting - only prints first two results, single line.
Diffstat (limited to 'blasearch.java')
| -rw-r--r-- | blasearch.java | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/blasearch.java b/blasearch.java index 25ac68e..8137fd0 100644 --- a/blasearch.java +++ b/blasearch.java @@ -72,8 +72,9 @@ public class blasearch {  		}  		// Print results  		if(results != null){ -			for(int i=0; i<results.size(); i++){ -				System.out.println(results.get(i)); +			for(int i=0; i<2; i++){ +				int count = i + 1; +				System.out.print("Result " + count + ": " + results.get(i) + " | ");  			}  		}	  	}  | 
