Skip to content

Commit 21f4f3c

Browse files
committed
grammar in comments, unused code, README
1 parent 4ed27f2 commit 21f4f3c

8 files changed

Lines changed: 10 additions & 43 deletions

File tree

‎README‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
Running Instructions:
22
1. Download and unarchive the contents of the most recent java-koans in development from:
33
https://github.com/matyb/java-koans/archives/master
4-
2. Open a terminal and cd to the 'koans' directory from within the archive (koans-lib is the source directory for the koans engine, and koans-tests is the source directory for unit tests against the koans engine - both are unnecessary for advancing through the koans)
4+
2. Open a terminal and cd to the koans directory within the directory you unarchived
5+
* koans: this directory contains the application and its lessons, it is all that is needed to advance through the koans themselves.
6+
* koans-lib: the directory for the koans the application
7+
* koans-tests is the directory for tests to check the sanity of the application
58
3. Run run.bat or run.sh (whichever is applicable for your OS)
69

710
Developing a Koan:

‎koans-lib/src/com/sandwich/koan/cmdline/behavior/NotImplemented.java‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎koans-lib/src/com/sandwich/koan/cmdline/behavior/Test.java‎

Lines changed: 0 additions & 21 deletions
This file was deleted.

‎koans-tests/data/src/com/sandwich/koan/TestUtils.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public static void doSimultaneouslyAndRepetitively(TwoObjectAssertion assertion,
199199
assertTrue(errors.contains("Thread-"+i+"\" "+anticipatedExceptionClass.getName()));
200200
}
201201
} finally {
202-
System.setErr(new PrintStream(temp));
202+
System.setErr(temp);
203203
}
204204
}
205205

‎koans-tests/test/com/sandwich/koan/suite/BlowUpOnLineEleven.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import com.sandwich.koan.KoanIncompleteException;
55

66
public class BlowUpOnLineEleven {
7-
// gotta put it on line 11 thus the two spaces here
7+
// gotta put it on line 11 thus the two lines here
88
//
99
@Koan
1010
public void blowUpOnLineEleven() {
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package com.sandwich.koan.suite;
22

33
import com.sandwich.koan.Koan;
4+
import com.sandwich.koan.KoanIncompleteException;
45

5-
public class BlowUpOnLineTen extends BlowUpOnLineEleven {
6-
// gotta blow up on line 10 thus the two spaces
7-
//
6+
public class BlowUpOnLineTen {
7+
// gotta blow up on line 10 thus the comment
88
@Koan
99
public void blowUpOnLineTen(){
10-
super.blowUpOnLineEleven();
10+
throw new KoanIncompleteException(null);
1111
}
1212
}

‎koans/i18n/messages_en.properties‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,3 @@ RunKoans.args=
9898
RunKoans.description=Default target. No switch - this runs if no switch is defined, or if a valid class is found as an argument.
9999
RunKoans.error=
100100
RunKoans.success=
101-
102-
Test.args= -test, test, t
103-
Test.description=Run tests. System returns number of failing testcases - not to exceed 255 to retain DOS compatibility for BAT files.
104-
Test.error=
105-
Test.success=

‎koans/src/beginner/AboutKoans.java‎

100755100644
File mode changed.

0 commit comments

Comments
 (0)