|
36efe5d83a
|
Node: may be empty, having no data
* isEmpty()
|
2016-05-24 11:56:14 +01:00 |
|
|
8187a28795
|
NodeItemTest: use val and Assert.assertThat()
* Lombok's val simplfies the local variable declarations
* Assert.assertThat() gives better error messages
* javadoc tidy
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
|
2016-03-14 15:51:44 +00:00 |
|
|
24ad03ccab
|
NodeExceptionTest: use lombok's val
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
|
2016-03-14 15:43:56 +00:00 |
|
|
58363e474d
|
NodeItem: apply code style
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
|
2016-03-14 15:43:21 +00:00 |
|
|
9daebcea46
|
{Node,NodeItem}: javadoc tidy
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
|
2016-03-14 15:42:53 +00:00 |
|
|
d9d19a849e
|
NodeItem.findOrCreateChild(): use Optional.orElseGet() to simplify
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
|
2016-03-14 15:42:07 +00:00 |
|
|
d60f6ae0bb
|
NodeItem.isChildOf(): simplify if statements
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
|
2016-03-14 15:41:23 +00:00 |
|
|
79170b898a
|
NodeItem: initialise children set in field and make final
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
|
2016-03-14 15:40:51 +00:00 |
|
|
635af8089d
|
Drop lombok dependency
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
|
2016-03-14 14:17:14 +00:00 |
|
|
85bd763e09
|
NodeItem.walkTree(): refactor using existing getChild()
Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
|
2016-01-09 18:09:38 +00:00 |
|
|
8cd57711b8
|
Initial commit
|
2016-01-09 17:08:52 +00:00 |
|