code conventions

This commit is contained in:
Stepan Koltsov
2012-06-14 16:33:36 +04:00
parent bf05e8dd79
commit 8c4ca5022d
@@ -49,9 +49,11 @@ public class CliTest {
System.setOut(new PrintStream(bytes));
ExitCode exitCode = new K2JVMCompiler().exec(System.out, args);
return bytes.toString("utf-8") + exitCode + "\n";
} catch (Exception e) {
}
catch (Exception e) {
throw ExceptionUtils.rethrow(e);
} finally {
}
finally {
System.setOut(origOut);
}
}
@@ -63,7 +65,8 @@ public class CliTest {
String expected = FileUtil.loadFile(new File("compiler/testData/cli/" + testName.getMethodName() + ".out"));
Assert.assertEquals(expected, actual);
} catch (Exception e) {
}
catch (Exception e) {
throw ExceptionUtils.rethrow(e);
}
}