Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nurkiewicz committed Dec 17, 2014
1 parent bf1f18c commit 33fad66
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -8,7 +8,7 @@ Run `mvn clean test` to make sure you have JDK 8 and all dependencies in place.

### IDE

Run `Lesson00_HelloWorldTest.java` from your favourite IDE and make sure it compiles and passes.
Run `J01_HelloWorldTest.java` from your favourite IDE and make sure it compiles and passes.

## Troubleshooting

Expand All @@ -18,7 +18,7 @@ If you see this error message during maven build:

[INFO] BUILD FAILURE
...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project lazyseq:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project java8:
Fatal error compiling: invalid target release: 1.8 -> [Help 1]

it means you are not compiling using Java 8. Download JDK 8 and let maven use it:
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/com/nurkiewicz/java8/J03_FunctionTest.java
Expand Up @@ -17,11 +17,11 @@
import static org.mockito.Mockito.mock;

/**
* - Use explicit Function, Predicate, Supplier, Consuner (like Guava)
* - Use explicit Function, Predicate, Supplier, Consumer (like Guava)
* - Higher order functions - returning lambdas
* - Change Encrypter to class taking Function<Byte, Byte>
* - Turning Function, Supplier and Producer into lambda
* - Method references (method, static method, constructor)
* - Higher order functions - returning lambdas
*/
@Ignore
public class J03_FunctionTest {
Expand Down
Expand Up @@ -48,7 +48,7 @@ public void shouldReturnTotalWords() throws Exception {
}

@Test
public void shouldReturnFourMostCommonWords() throws Exception {
public void shouldReturnFiveMostCommonWords() throws Exception {
final String loremIpsum = LoremIpsum.text();
Map<String, Integer> wordCount = LoremIpsum.wordCount(loremIpsum);

Expand Down

0 comments on commit 33fad66

Please sign in to comment.