equal
deleted
inserted
replaced
44 if (rc != 0) |
44 if (rc != 0) |
45 throw new Exception("unexpected return code: " + rc); |
45 throw new Exception("unexpected return code: " + rc); |
46 pw.close(); |
46 pw.close(); |
47 String[] lines = sw.toString().split("\n"); |
47 String[] lines = sw.toString().split("\n"); |
48 if (lines.length < 3 |
48 if (lines.length < 3 |
49 || !lines[0].startsWith("Classfile") |
49 || !lines[0].trim().startsWith("Classfile") |
50 || !lines[1].startsWith("Last modified") |
50 || !lines[1].trim().startsWith("Last modified") |
51 || !lines[2].startsWith("MD5")) { |
51 || !lines[2].trim().startsWith("MD5")) { |
52 System.out.println(sw); |
52 System.out.println(sw); |
53 throw new Exception("unexpected output"); |
53 throw new Exception("unexpected output"); |
54 } |
54 } |
55 } |
55 } |
56 } |
56 } |