Commit graph

383 commits

Author SHA1 Message Date
dependabot-preview[bot]
a10cd4c70b
Bump spotbugs-annotations from 4.0.4 to 4.0.6 (#134) 2020-06-24 05:31:06 +00:00
150740ca89
Update sonatype-release trigger (#132)
Switching to using release drafter means the Releases are created early but in a draft mode. This somehow doesn't trigger this action, which was a good thing. However, when the release was published it didn't trigger the workflow, meaning the release wasn't published.
2020-06-20 23:00:18 +01:00
42dde29e3e
Post-release (#131) 2020-06-20 22:30:17 +01:00
3c95e08f36
Release v2.2.0 (#130) 2020-06-20 22:19:36 +01:00
bdb22f134e
TypeAlias allow toString to be overridden (#129) 2020-06-20 15:08:12 +01:00
30f903dbb2
Add flatMapLeft/Right and getLeft/Right to Either (#128)
* clean up code

* tree: replace deprecated assertj methods

* either: add flatMapLeft and flatMapRight

* either: add getLeft and getRight
2020-06-20 15:03:52 +01:00
d617ffdf3f
Add release-drafter (#127)
* Add release-drafter workflow

* Configure release-drafter

Uses the enhanced example template with the addition of the dependencies label under Maintenance.
2020-06-20 08:39:39 +01:00
dependabot-preview[bot]
ac6e359c01
Bump spotbugs-annotations from 4.0.3 to 4.0.4 (#126) 2020-06-09 05:27:50 +00:00
dependabot-preview[bot]
ec40ccc028
Bump tiles-maven-plugin from 2.16 to 2.17 (#125) 2020-05-28 05:32:47 +00:00
dependabot-preview[bot]
9c763564e8
Bump spotbugs-annotations from 4.0.2 to 4.0.3 (#124) 2020-05-13 05:29:16 +00:00
dependabot-preview[bot]
b67fe49ca0
Bump pitest-maven from 1.5.1 to 1.5.2 (#123) 2020-05-12 05:28:39 +00:00
dependabot-preview[bot]
c4184b2658
Bump assertj-core from 3.16.0 to 3.16.1 (#122) 2020-05-11 05:53:46 +00:00
dependabot-preview[bot]
c17ba57679
Bump assertj-core from 3.15.0 to 3.16.0 (#121) 2020-05-06 05:29:14 +00:00
dependabot-preview[bot]
c536bcf94f
Bump spotbugs-annotations from 4.0.1 to 4.0.2 (#120) 2020-04-16 05:24:27 +00:00
dependabot-preview[bot]
0797bda6a8
Bump junit-bom from 5.6.1 to 5.6.2 (#119) 2020-04-13 05:32:24 +00:00
dependabot-preview[bot]
5ffb4874fb
Bump pitest-maven from 1.5.0 to 1.5.1 (#118) 2020-03-30 05:53:41 +00:00
dependabot-preview[bot]
14d057e900
Bump junit-bom from 5.6.0 to 5.6.1 (#117) 2020-03-23 05:46:05 +00:00
830b312d9e
JDK 13 Compatibility (#116)
* Add jdk 13 to build matrix

* Adjust indentation

* Adjust indentation

* Bump kemitix-maven-tiles from 1.2.0 to 2.4.1

* Fix TypeAlias.equals(Object) does not check for null argument

net.kemitix.mon.TypeAlias.equals(Object) does not check for null argument [net.kemitix.mon.TypeAlias] At TypeAlias.java:[lines 82-88] NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT

* Fix TypeAlias.flatMap(Function) declares unbound method template parameter

[ERROR] Method net.kemitix.mon.TypeAlias.flatMap(Function) declares unbound method template parameter(s) [net.kemitix.mon.TypeAlias] At TypeAlias.java:[line 72] UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER

* Fix Lazy has a circular dependency with other classes

[ERROR] Class net.kemitix.mon.lazy.Lazy has a circular dependency with other classes [net.kemitix.mon.lazy.Lazy] At Lazy.java:[lines 36-46] FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY

* Fix Synchronization performed on AtomicReference

[ERROR] Synchronization performed on java.util.concurrent.atomic.AtomicReference in net.kemitix.mon.lazy.LazySupplier.value() [net.kemitix.mon.lazy.LazySupplier] At LazySupplier.java:[line 61] JLM_JSR166_UTILCONCURRENT_MONITORENTER

* Fix Just.orElseThrow(Supplier) declares throwing an exception that isn't thrown

[ERROR] Non derivable method net.kemitix.mon.maybe.Just.orElseThrow(Supplier) declares throwing an exception that isn't thrown [net.kemitix.mon.maybe.Just] At Just.java:[line 102] BED_BOGUS_EXCEPTION_DECLARATION

* Fix Maybe has a circular dependency with other classes

[ERROR] Class net.kemitix.mon.maybe.Maybe has a circular dependency with other classes [net.kemitix.mon.maybe.Maybe] At Maybe.java:[lines 40-94] FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY

* Fix Maybe.findFirst(Stream) uses immediate execution of a block

[ERROR] Method net.kemitix.mon.maybe.Maybe.findFirst(Stream) uses immediate execution of a block of code that is often not used [net.kemitix.mon.maybe.Maybe] At Maybe.java:[line 94] OI_OPTIONAL_ISSUES_USES_IMMEDIATE_EXECUTION

* Fix Success/Result/Err has a circular dependency

[ERROR] Class net.kemitix.mon.result.Err has a circular dependency with other classes [net.kemitix.mon.result.Err] At Err.java: FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY

* Fix GeneralisedTree has a circular dependency

[ERROR] Class net.kemitix.mon.tree.GeneralisedTree has a circular dependency with other classes [net.kemitix.mon.tree.GeneralisedTree] At GeneralisedTree.java:[lines 39-80] FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY

* Supress warning about boxing a boolean

NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION

Without creating a whole reimplemention of Maybe/Just/Nothing purely for `boolean` primitives, we can’t avoid this boxing.

* Supress store before return warnings in Lombok generate hashCode

USBR_UNNECESSARY_STORE_BEFORE_RETURN

The annotation has to be used at the class level, which unfortunately means we have no store-before-return checks for the rest of the class.

* Suppress warning about unused parameter

The type parameter for `Tree.builder(type)` is used to specify the parameterised type of the return value.

* Checkstyle fixups

* [changelog] updated
2020-03-20 07:17:29 +00:00
86d3a214ed
Update Changelog (#115)
* [changelog] updated

* [changelog] split out added
2020-03-19 08:55:54 +00:00
dependabot-preview[bot]
de55a9bb49
Bump assertj-core from 3.13.2 to 3.15.0 (#106) 2020-03-19 07:51:16 +00:00
dependabot-preview[bot]
756086385c
Bump junit-bom from 5.5.2 to 5.6.0 (#105) 2020-03-19 07:47:51 +00:00
dependabot-preview[bot]
e725dadd91
Bump tiles-maven-plugin from 2.15 to 2.16 (#101) 2020-03-19 07:44:17 +00:00
dependabot-preview[bot]
2d15dfca70
Bump lombok from 1.18.10 to 1.18.12 (#108) 2020-03-19 07:40:37 +00:00
dependabot-preview[bot]
84e4a6c254
Bump pitest-junit5-plugin from 0.9 to 0.12 (#107) 2020-03-19 07:37:14 +00:00
dependabot-preview[bot]
f24ec89207
Bump pitest-maven from 1.4.10 to 1.5.0 (#109)
Bumps [pitest-maven](https://github.com/hcoles/pitest) from 1.4.10 to 1.5.0.
- [Release notes](https://github.com/hcoles/pitest/releases)
- [Commits](https://github.com/hcoles/pitest/compare/pitest-parent-1.4.10...1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Paul Campbell <pcampbell@kemitix.net>
2020-03-19 07:33:20 +00:00
dependabot-preview[bot]
fc120a693d
Bump mockito-junit-jupiter from 3.1.0 to 3.3.3 (#111)
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.1.0 to 3.3.3.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.1.0...v3.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Paul Campbell <pcampbell@kemitix.net>
2020-03-19 07:30:18 +00:00
dependabot-preview[bot]
156551ad52
Bump kemitix-parent from 5.2.0 to 5.3.0 (#112)
Bumps [kemitix-parent](https://github.com/kemitix/kemitix-parent) from 5.2.0 to 5.3.0.
- [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.2.0...v5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Paul Campbell <pcampbell@kemitix.net>
2020-03-19 07:27:42 +00:00
aaabadb3b0
Add github actions config (#113)
* Add github actions config

* Add JDK 13 to build matrix

* Remove JDK 13 build - currently broken
2020-03-19 07:16:55 +00:00
dependabot-preview[bot]
fe98c4ed41
Bump mockito-junit-jupiter from 3.0.0 to 3.1.0 (#97) 2019-10-02 06:27:16 +00:00
dependabot-preview[bot]
46871254e3
Bump assertj-core from 3.12.2 to 3.13.2 (#93) 2019-09-15 19:27:34 +00:00
dependabot-preview[bot]
a0cc98bdba
Bump lombok from 1.18.8 to 1.18.10 (#96) 2019-09-11 07:47:40 +00:00
dependabot-preview[bot]
67ad9528c2
Bump junit-bom from 5.5.1 to 5.5.2 (#95) 2019-09-09 10:58:50 +00:00
dependabot-preview[bot]
6dcc68df86
Bump pitest-maven from 1.4.9 to 1.4.10 (#94) 2019-09-02 17:52:47 +00:00
dependabot-preview[bot]
08eba2a83a
Bump junit-bom from 5.5.0 to 5.5.1 (#90) 2019-09-02 17:23:58 +00:00
dependabot-preview[bot]
edbd8cdfc8
Bump mockito-junit-jupiter from 2.28.2 to 3.0.0 (#89) 2019-07-11 17:42:07 +00:00
dependabot-preview[bot]
d59087a1ab
Bump junit-bom from 5.4.2 to 5.5.0 (#88) 2019-07-01 08:42:25 +00:00
dependabot-preview[bot]
ae5c12cd6f
Bump tiles-maven-plugin from 2.14 to 2.15 (#86) 2019-06-20 09:20:56 +00:00
dependabot-preview[bot]
dd80a33f7c
Bump pitest-maven from 1.4.8 to 1.4.9 (#87) 2019-06-20 09:11:17 +00:00
dependabot-preview[bot]
56a4ebd61a
Bump pitest-junit5-plugin from 0.8 to 0.9 (#85) 2019-06-19 07:46:57 +00:00
dependabot-preview[bot]
b8d769ae2e
Bump mockito-junit-jupiter from 2.27.0 to 2.28.2 (#84) 2019-05-31 08:37:23 +00:00
dependabot-preview[bot]
e137f0860c
Bump pitest-maven from 1.4.7 to 1.4.8 (#82) 2019-05-25 22:32:56 +00:00
dependabot[bot]
8cda3c0996
Bump lombok from 1.18.6 to 1.18.8 (#81) 2019-05-07 05:47:56 +00:00
dependabot[bot]
9bff5cc656
Bump tiles-maven-plugin from 2.13 to 2.14 (#80) 2019-05-06 08:18:42 +00:00
dependabot[bot]
f8824a9a4a
Bump mockito-junit-jupiter from 2.26.0 to 2.27.0 (#79) 2019-04-11 06:03:03 +00:00
dependabot[bot]
79d6c996fa
Bump junit-bom from 5.4.1 to 5.4.2 (#77) 2019-04-09 09:33:52 +00:00
dependabot[bot]
1be722498d
Bump mockito-junit-jupiter from 2.25.1 to 2.26.0 (#78) 2019-04-08 07:31:53 +00:00
dependabot[bot]
86135e2a19
Bump pitest-maven from 1.4.6 to 1.4.7 (#76) 2019-03-29 14:08:56 +00:00
dependabot[bot]
f5088bd814 Bump junit-bom from 5.4.0 to 5.4.1 (#75)
Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.4.0...r5.4.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 08:56:55 +00:00
dependabot[bot]
54e8c5f37c Bump mockito-junit-jupiter from 2.25.0 to 2.25.1 (#74)
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 2.25.0 to 2.25.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.25.0...v2.25.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 08:40:14 +00:00
dependabot[bot]
52b653d883
Bump assertj-core from 3.12.1 to 3.12.2 (#73) 2019-03-18 08:32:31 +00:00