Code cleanup (#1461)

* Code cleanup

* Fix flux tests

* Fix checkstyle errors

* Fix compile error
This commit is contained in:
Ilkka Seppälä authored and GitHub committed 2020-07-30 20:28:47 +03:00
1 parent 5381387026
commit 417f21ed3d
243 files changed
+1154 -1162

No files matched your search

+2 -2
View File
@@ -34,7 +34,7 @@ Taking our sentence example from above. Here we have the base class and differen
```java
public abstract class LetterComposite {
private List<LetterComposite> children = new ArrayList<>();
private final List<LetterComposite> children = new ArrayList<>();
public void add(LetterComposite letter) {
children.add(letter);
@@ -59,7 +59,7 @@ public abstract class LetterComposite {
public class Letter extends LetterComposite {
private char character;
private final char character;
public Letter(char c) {
this.character = c;