Commit graph

410 commits

Author SHA1 Message Date
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
d001a3cb3b Prepare CHANGELOG 2018-07-16 22:33:32 +01:00
a53db86452
Merge pull request #38 from kemitix/either
Add `Either<L,R>` and add `TypeAlias<T>.flatMap()`
2018-07-16 21:07:06 +01:00
888c43d468 Update CHANGELOG 2018-07-16 21:01:25 +01:00
e8989718f3 README.org: expand TypeAlias documentation and add TypeAlias.flatMap() 2018-07-16 20:56:56 +01:00
78f15df464 README.org: add documentation for Either 2018-07-16 19:31:18 +01:00
3e4629d873 README.org: reformat and adjust headers 2018-07-16 19:10:48 +01:00
c7c7c6ebeb README.org: adjust headings 2018-07-16 18:52:33 +01:00
e5958ba432 Add Either (experimental) 2018-07-16 18:49:44 +01:00
a85280341a
Merge pull request #37 from kemitix/rewrite-readme
Rewrite README and convert to org-mode
2018-07-15 22:04:17 +01:00
9da7f0fca0 Update CHANGELOG 2018-07-15 21:57:35 +01:00
9a6c58c835 Rewrite README and convert to org-mode
* MaybeTest use static import Maybe.*
* Maybe.orElseThrow() now returns value when is a Just
2018-07-15 20:59:49 +01:00