import java.net.*;
import java.io.*;
import org.json.*;
public class Jogos{
    public static void main (String[] args) throws Exception {
        URL worldCup = new URL("http://worldcup.sfg.io/matches");
        URLConnection conn = worldCup.openConnection();
        BufferedReader in = new BufferedReader(
                                new InputStreamReader(
                                conn.getInputStream())); 
        StringBuilder sb = new StringBuilder();
        String line;
        while ((line = in.readLine()) != null) {
            sb.append(line);
        }
        JSONArray jogos = new JSONArray(sb.toString());
        for (int i = 0; i < jogos.length(); i++) {
            JSONObject jogo = jogos.getJSONObject(i);
            if (jogo.getString("status").equals("completed")) {
                JSONObject home_team = jogo.getJSONObject("home_team");
                JSONObject away_team = jogo.getJSONObject("away_team");
                System.out.format("%s %s vs %s %s\n",
                        home_team.getString("country"),
                        home_team.getInt("goals"),
                        away_team.getString("country"),
                        away_team.getInt("goals"));
            }
        }
    }
}

@@ -984,17 +984,17 @@
 %25s %25
-s
+d
  vs %25s %25
 s%5Cn%22
@@ -993,37 +993,13 @@
 %25s %25
-s
+d
 %5Cn%22,
-%0A                       
  hom
@@ -1030,32 +1030,8 @@
 y%22),
-%0A                       
  hom
@@ -1057,32 +1057,8 @@
 s%22),
-%0A                       
  awa
@@ -1089,32 +1089,8 @@
 y%22),
-%0A                       
  awa

Make Java more concise.