82f0c25b1d
Clean up Node interface ( #60 )
...
* NoteItem Remove @NonNull from private method parameters
* When creating node with null children treat as no children
* NodeItem use Lombok Getter/Setter
* Extract NodeTreeDraw
* Remove getData()
* Remove getChild()
* Remove getParent()
* Remove getChildByName()
* Merge NodeTreeDraw into Nodes
* Remove methodcound suppression
* [changelog] Updated
2020-03-22 20:53:40 +00:00
04e0e83748
Upgrade dependencies ( #59 )
...
* [changelog] clean up
* Upgrade kemitix-maven-tiles from 1.3.1 to 2.4.1
Pin pitest-junit5-plugin at 0.9. From 0.10+ is breaks.
* Fix NodeItem.findInPath(List) uses integer for loops to iterate over a List
[ERROR] Method net.kemitix.node.NodeItem.findInPath(List) uses integer based for loops to iterate over a List [net.kemitix.node.NodeItem] At NodeItem.java:[line 269] LII_LIST_INDEXED_ITERATING
* Upgrade kemitix-checkstyle-ruleset from 4.0.1 to 5.4.0
2020-03-21 10:35:21 +00:00
daf9821887
Switch to trunk-based-development ( #34 )
...
* pom.xml: version set to 0.8.0-SNAPSHOT
* jenkins: added
* mvn: add wrapper 3.5.3
* Upgrade parent to 5.1.0
* lombok: upgraded to 1.16.20
* assertj: upgraded to 3.9.1
* coveralls: removed
* kemitix-maven-tiles: added
* kemitix-checkstyle: tile added
* Compile with java 1.8
* Reduce code coverage requirements
* LICENSE: update
* checkstyle: suppress outstanding npath complexity issues, etc
* Bump kemitix-parent from 5.1.0 to 5.1.1
Bumps [kemitix-parent](https://github.com/kemitix/kemitix-parent ) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/kemitix/kemitix-parent/releases )
- [Changelog](https://github.com/kemitix/kemitix-parent/blob/master/CHANGELOG )
- [Commits](https://github.com/kemitix/kemitix-parent/compare/v5.1.0...v5.1.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Bump tiles-maven-plugin from 2.10 to 2.12
Bumps [tiles-maven-plugin](https://github.com/repaint-io/maven-tiles ) from 2.10 to 2.12.
- [Release notes](https://github.com/repaint-io/maven-tiles/releases )
- [Changelog](https://github.com/repaint-io/maven-tiles/blob/master/CHANGELOG.adoc )
- [Commits](https://github.com/repaint-io/maven-tiles/compare/tiles-maven-plugin-2.10...tiles-maven-plugin-2.12 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Bump assertj-core from 3.9.1 to 3.11.0
Bumps [assertj-core](https://github.com/joel-costigliola/assertj-core ) from 3.9.1 to 3.11.0.
- [Release notes](https://github.com/joel-costigliola/assertj-core/releases )
- [Commits](https://github.com/joel-costigliola/assertj-core/compare/assertj-core-3.9.1...assertj-core-3.11.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Bump lombok from 1.16.20 to 1.18.2
Bumps [lombok](https://github.com/rzwitserloot/lombok ) from 1.16.20 to 1.18.2.
- [Release notes](https://github.com/rzwitserloot/lombok/releases )
- [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown )
- [Commits](https://github.com/rzwitserloot/lombok/compare/v1.16.20...v1.18.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Bump assertj-core from 3.11.0 to 3.11.1
Bumps [assertj-core](https://github.com/joel-costigliola/assertj-core ) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/joel-costigliola/assertj-core/releases )
- [Commits](https://github.com/joel-costigliola/assertj-core/compare/assertj-core-3.11.0...assertj-core-3.11.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Bump kemitix-parent from 5.1.1 to 5.2.0
Bumps [kemitix-parent](https://gitlab.com/kemitix/kemitix-parent ) from 5.1.1 to 5.2.0.
- [Release notes](https://gitlab.com/kemitix/kemitix-parent/tags )
- [Commits](https://gitlab.com/kemitix/kemitix-parent/commits/master )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Update CHANGELOG
* Update Jenkinsfile
* Remove maven wrapper
* Remove travis config
* Simplify .gitignore
* [readme] convert to org-mode format
* lombok scope is provided
* version set to DEV-SNAPSHOT
* rename property kemitix-tiles as kemitix-maven-tiles
* Bump kemitix-maven-tiles from 0.8.1 to 1.3.0
* Bump kemitix-maven-tiles from 1.3.0 to 1.3.1
* NoteItem remove @ToString
* Narrow scope of forceParent to package-private
* [coverage] set required instructions covered to 97%
2018-10-09 22:08:43 +01:00
21c0fb8896
NodeItemTest: add tests for parentStream()
2017-02-18 19:29:01 +00:00
081dfc7b37
Node: {streamParents => parentStream} rename method
2017-02-18 19:17:06 +00:00
b644fb9dd8
Node:stream{All => }: rename method
2017-02-18 19:17:06 +00:00
c772e90d68
Node: streamParents(): added
2017-02-18 19:17:06 +00:00
2b4132493a
Node: isRoot(): added
2017-02-18 19:12:59 +00:00
0c13243ae6
NodeItemTest: add more tests for update {get,find}{Data,Parent} methods
2017-02-18 19:07:50 +00:00
543c91f611
Node: get{Parent,Data}: return item or throw exception
...
Previous, Optional, implementations have been renamed as find{Parent,Data}
2017-02-18 18:30:56 +00:00
98681abbb3
Node: streamAll(): added
2017-02-16 21:11:05 +00:00
eb4acbaf89
NodeItem: inline verifyChildWithSameNameDoesNotAlreadyExis
2017-02-16 21:09:09 +00:00
012cf7cdbf
ImmutableNodeItemTest: add test for Nodes::asImmutable for non-root
2016-09-20 23:35:55 +01:00
2226d61b46
Nodes::asImmutableChild: use null parent if none found
2016-09-20 23:35:27 +01:00
76c4d4ceeb
Node: drop findOrCreateChild()
2016-09-20 23:16:19 +01:00
6a93ed9199
ImmutableNodeItemTest:: don't pass null to setParent in test
2016-09-20 23:16:19 +01:00
c77f9c29d3
NodeItem: don't call overridable method from constructor
2016-09-20 23:16:19 +01:00
48c5b15720
ImmutableNodeItem: now extends NodeItem
...
The AbstractNodeItem is now redundant and is removed.
2016-09-20 23:15:19 +01:00
ff3a456657
NodeItem: new constructor sets parent properly
2016-09-20 23:15:19 +01:00
93a3f2ad42
NodesTest: unnamed nodes have an empty string
2016-09-20 23:15:18 +01:00
d73a46b905
NodeItemTest: check that child is added to parent
2016-09-20 23:15:17 +01:00
77a7946e9c
NodeItem::findChild: improved Optional idiom
2016-09-20 23:15:17 +01:00
753b37cc1d
NodeItem::insertInPath: clarify local variable name
2016-09-20 23:15:17 +01:00
f9aba88d0c
NodeItem::getChild: simplify method
2016-09-20 23:15:17 +01:00
f34f2a7200
NodeItem: remove old constructors
2016-09-20 23:15:17 +01:00
dda6acc047
Nodes: use new NodeItem constructor
2016-09-20 23:15:17 +01:00
7f0f0d1bf9
NodeItem: add all args constructor
2016-09-20 22:12:29 +01:00
62d9d28fe1
{Abstract}NodeItem: reduce complexity of findInPath()
2016-09-13 22:48:30 +01:00
afdaa082cc
AbsractNodeItem: constructor children must not be null
2016-09-13 22:48:30 +01:00
4770a99983
AbstractNodeItem: add javadoc for constructor
2016-09-13 22:48:30 +01:00
99db9e2a1a
Node: remove undeclared runtime exceptions from javadoc
2016-09-13 22:48:30 +01:00
d32221c649
ImmutableNodeItem: add javadoc
2016-09-13 22:48:29 +01:00
29648c9f70
Code Style update - use wider limits
2016-09-13 22:48:28 +01:00
915a63f1b0
Node{Item}: undo line wraps
2016-09-13 22:48:28 +01:00
8aa8abe329
@author: add email address
2016-09-13 22:48:28 +01:00
a39fa049c2
LICENSE{ => .txt}: rename and add to java sources
...
Rename the LICENSE file and add a copy of it to each java source file as a header.
2016-09-13 22:48:28 +01:00
57c08153d3
Node: fix broken javadoc
2016-09-13 07:51:58 +01:00
29a5ceca82
NodeItem: remove support for dynamic names
2016-09-04 22:19:22 +01:00
69be86ba07
NodeItem: reduce complexity of addChild
2016-09-04 22:13:10 +01:00
9ec2668802
NodeItem: wrap lines at 80 columns
2016-09-04 20:00:55 +01:00
e4c4fdf4bc
NodeItem,: use strange javadoc element ordering
2016-09-04 20:00:55 +01:00
cd1afc6778
NodeItem: avoid import .*
2016-09-04 20:00:55 +01:00
1da9d44a8b
Node: add javadoc @deprecated to findOrCreateChild
2016-09-04 20:00:55 +01:00
40f49fd832
NodeItem: refactored insertInPath to be easier to understand
2016-09-04 20:00:54 +01:00
e28b140db8
NodeItem: simplify inserting child into path
2016-09-04 19:28:20 +01:00
91c57f098e
{Abstract}NodeItem: rewrite findInPath to avoid recursion
2016-09-04 19:21:41 +01:00
6987f927fe
{Immutable}NodeItemTest: categorise findInPath tests
2016-09-04 19:21:18 +01:00
02d07605c0
NodeFindInPathTestsCategory: added
2016-09-04 19:20:16 +01:00
9f3aec202a
{Abstract}NodeItem: reduce nested if statements
2016-09-04 18:59:22 +01:00
37247e93bc
node: change javadoc element order to Atclause order
...
The default configuration of the AtclauseOrder is a bit strange.
2016-09-04 18:44:29 +01:00