Skip to content

Commit

Permalink
Chapter 3: Document the refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
asankov committed May 9, 2020
1 parent 793994d commit 5789612
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions chapter-3/3.5-java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@

### Section 3.5 Java
**Summary:** Let's rewrite these stuff in [Java](Markov.java)!

**BONUS:** Refactor the Java code to use up-to-data structures and practices:
- Generics - `Map<Prefix, Vector<String>>` instead of `Hashtable`
- Remove use of deprecated constructor of `StreamTokenizer`
- Static constructor, instead of constructors with fields that differ from the fields of the class

Changes applied in [this commit](https://github.com/asankov/the-practice-of-programming/commit/793994dae973f3d4d9a14224fb511f9d6fe9de82).

0 comments on commit 5789612

Please sign in to comment.