Commit graph

271 commits

Author SHA1 Message Date
c2119c983b Release 2.0.0 2018-10-14 12:43:29 +01:00
8357d7f5d8
[tree] Add TreeBuilder (#57)
* [tree] TreeBuilder: whenEmptyBuilderBuildThenTreeIsAnEmptyLeaf()

* [tree] Provide default implementation of count()

* [tree] Extract TreeMapper

* [tree] MutableTree added

* [tree] TreeBuilder: whenAddLeafThenTreeHasLeaf()

* [tree] TreeBuilder: whenAddSubTreeThenTreeHasSubTree()

* [maybe] Add Maybe.findFirst(Stream) and matchValue(Function, Supplier)

* [tree] TreeBuilder: whenAddGrandChildThenTreeHasGrandChild()

* [tree] TreeBuilder: whenAddMultipleChildrenThenTreeHasAllChildren()

* [tree] Tree: avoid leaking MutableTree type as parameters

* [changelog] update

* [changelog][readme] Update to include TreeBuilder
2018-10-14 08:55:09 +01:00
73e59b0050
Bump junit from 4.12 to 5.3.1 (#56)
* Bump junit from 4.12 to 5.3.1

* [changelog] update

* [jenkins] stop publishing to codacy and test build with java 11
2018-10-12 20:42:11 +01:00
dependabot[bot]
f92c9cfa65 Bump kemitix-parent from 5.1.1 to 5.2.0 (#55)
* 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>

* Remove travis config

* [changelog] update
2018-10-10 17:42:19 +01:00
80ffc53edc
Merge pull request #54 from kemitix/result-orelsethrow-checkederrorresultexception
[result] orElseThrow() throws error within a CheckedErrorResultException
2018-10-06 20:11:14 +01:00
00d8808479 [result] orElseThrow() throws error within a CheckedErrorResultException 2018-10-06 19:58:50 +01:00
d7512be042
Merge pull request #53 from kemitix/test-on-java-10
[jenkins] Test with Java 10
2018-10-04 08:12:03 +01:00
aed85d5488 [result] toMaybe fix typo 2018-10-04 07:55:34 +01:00
538f8cb3d7 [jenkins] Test with Java 10 2018-10-04 07:51:29 +01:00
ef56892af0
Merge pull request #52 from kemitix/result-or-throw-wraps
[result] orElseThrow() wraps the error exception in an unchecked MonResultException
2018-10-04 07:47:42 +01:00
e22ff4589f Update CHANGELOG and README 2018-10-04 07:39:38 +01:00
48e19fb653 [result] add orElseThrow(Class) and orElseThrowUnchecked()
Split `MonResultException` into `ErrorResultException` and `UnexpectedErrorResultException`.
2018-10-04 07:24:50 +01:00
c0ee1cdbc7 [result] orElseThrow() wraps the error exception in an unchecked MonResultException 2018-10-03 21:58:33 +01:00
9a7d641c4f
Merge pull request #51 from kemitix/lazy-eval-sync-test
[lazy] add test to verify re-entrant behaviour of value()
2018-10-02 06:30:52 +01:00
d1adfd46d2 [lazy] add test to verify re-entrant behaviour of value() 2018-10-01 22:09:31 +01:00
512563c077
Merge pull request #50 from kemitix/changelog
[changelog] updated
2018-09-30 19:51:51 +01:00
6fc6cc7a18 [changelog] updated 2018-09-30 19:47:42 +01:00
58542352d1
Merge pull request #49 from kemitix/lazy
[lazy] Add a lazy evaluator
2018-09-30 19:43:16 +01:00
9249ba8f59 [lazy] Add a lazy evaluator 2018-09-30 19:37:30 +01:00
bf7c55db0e
Merge pull request #48 from kemitix/generalised-tree
[tree] Add a generalised tree
2018-09-30 18:12:24 +01:00
f5c10e668d [tree] Add a Generalised Tree 2018-09-30 18:05:41 +01:00
073df36e56 Make JaCoCo ignore Lombok generated methods 2018-09-30 17:35:51 +01:00
93ad09c2fc [license] Update year to 2018 2018-09-29 19:59:38 +01:00
3ad4019f53
Merge pull request #47 from kemitix/bump-kemitix-checkstyle-ruleset-from-4.1.1-to-5.0.0
Bump kemitix-checkstyle-ruleset from 4.1.1 to 5.0.0
2018-09-29 19:53:43 +01:00
f26c5f07d5 Bump kemitix-checkstyle-ruleset from 4.1.1 to 5.0.0 2018-09-29 19:44:30 +01:00
cd5d5f8082
Merge pull request #46 from kemitix/bump-kemitix-maven-tiles-from-0.8.1-to-1.2.0
Bump kemitix-maven-tiles from 0.8.1 to 1.2.0
2018-09-29 19:27:24 +01:00
8433da89ee Remove redundant surefire and failsafe version overrides 2018-09-29 19:12:34 +01:00
2a0606f53f Bump kemitix-maven-tiles from 0.8.1 to 1.2.0 2018-09-29 19:12:16 +01:00
e1692fa6c4
Merge pull request #45 from kemitix/fix-javadoc-typo
Fix typo in javadoc
2018-09-01 06:43:39 +01:00
Paul Campbell
11912a070e Fix typo in javadoc 2018-09-01 06:34:00 +01:00
5e171f8962
Merge pull request #44 from kemitix/maybe-or
Add Maybe.or(Supplier<Maybe>)
2018-08-31 23:13:49 +01:00
Paul Campbell
1ca686a3f6 Add Maybe.or(Supplier<Maybe>)
Like a flatMap for the negative case.
2018-08-31 22:53:06 +01:00
dependabot[bot]
078e1463f4
Merge pull request #43 from kemitix/dependabot/maven/org.assertj-assertj-core-3.11.1 2018-08-29 17:03:44 +00:00
dependabot[bot]
a8246f6d6c
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>
2018-08-29 05:48:51 +00:00
2a455faede
Merge pull request #42 from kemitix/next
Version upgrades and admin
2018-08-25 17:05:52 +01:00
0f3707718c Update CHANGELOG 2018-08-25 16:15:58 +01:00
dependabot[bot]
0083b3bca4
Merge pull request #40 from kemitix/dependabot/maven/org.projectlombok-lombok-1.18.2 2018-08-25 15:05:20 +00:00
93c196eac3
Merge branch 'master' into dependabot/maven/org.projectlombok-lombok-1.18.2 2018-08-25 15:53:24 +01:00
dependabot[bot]
fb47bc8cb1
Merge pull request #39 from kemitix/dependabot/maven/io.repaint.maven-tiles-maven-plugin-2.12 2018-08-25 14:52:02 +00:00
f9fc84326e
Merge branch 'master' into dependabot/maven/org.projectlombok-lombok-1.18.2 2018-08-25 15:51:44 +01:00
d662ec6df7
Merge pull request #41 from kemitix/dependabot/maven/org.assertj-assertj-core-3.11.0
Bump assertj-core from 3.10.0 to 3.11.0
2018-08-25 15:50:34 +01:00
abe1f7300b Remove maven wrapper 2018-08-25 15:43:08 +01:00
3b778f29a3 travis: don't use maven wrapper 2018-08-25 15:42:34 +01:00
dependabot[bot]
3803bc7b67
Bump assertj-core from 3.10.0 to 3.11.0
Bumps [assertj-core](https://github.com/joel-costigliola/assertj-core) from 3.10.0 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.10.0...assertj-core-3.11.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-23 14:08:11 +00:00
dependabot[bot]
687daee241
Bump lombok from 1.18.0 to 1.18.2
Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.18.0 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.18.0...v1.18.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-23 14:08:09 +00:00
dependabot[bot]
42ea2a26ee
Bump tiles-maven-plugin from 2.11 to 2.12
Bumps [tiles-maven-plugin](https://github.com/repaint-io/maven-tiles) from 2.11 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.11...tiles-maven-plugin-2.12)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-23 14:08:07 +00:00
3d29bb884c pom: update urls to github 2018-07-21 22:50:32 +01:00
4542d82c1a Rename Result.invert as swap 2018-07-21 22:42:16 +01:00
b80650b6ae Add Result.reduce(Result,BinaryOperator) 2018-07-20 18:40:33 +01:00
a1a7ad65c2 Left/Right: don't use @Getter for final fields
QA tools want these fields to be static, for which lombok creates static getter
methods, which then don't match the specification from the `Either` interface.
2018-07-16 22:39:28 +01:00