Skip to content

Commit 13f1bbe

Browse files
committed
Removing answers.
1 parent dddb5cc commit 13f1bbe

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎koans/src/beginner/AboutExceptions.java‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private void tryCatchFinallyWithVoidReturn() {
6666
@Koan
6767
public void finallyIsAlwaysRan() {
6868
tryCatchFinallyWithVoidReturn();
69-
assertEquals(k,3);
69+
assertEquals(k,__);
7070
}
7171

7272
private int tryCatchFinallyReturningInt() {
@@ -84,11 +84,11 @@ private int tryCatchFinallyReturningInt() {
8484
@Koan
8585
public void orderOfCatchFinallyAndReturn() {
8686
k = 1;
87-
assertEquals(tryCatchFinallyReturningInt(),4);
87+
assertEquals(tryCatchFinallyReturningInt(),__);
8888
// What is the order of executing catch, finally
8989
// and return statements in this case?
90-
assertEquals(k,2);
91-
assertEquals(m,5);
90+
assertEquals(k,__);
91+
assertEquals(m,__);
9292
}
9393

9494
private int i = 0, j = 1, l = 2;
@@ -109,7 +109,7 @@ private int returnStatementsEverywhere() {
109109
@Koan
110110
public void returnInFinallyBlock() {
111111
// Which value will be returned here?
112-
assertEquals(returnStatementsEverywhere(),2);
112+
assertEquals(returnStatementsEverywhere(),__);
113113
// Is only the returned variable modified?
114114
assertEquals(i,__);
115115
assertEquals(j,__);

0 commit comments

Comments
 (0)