Commit graph

266 commits

Author SHA1 Message Date
f0be463028 Add Result.toMaybe() and Result.invert() 2018-06-24 22:36:02 +01:00
8ec3069d1d Suppress warning for unchecked cast 2018-06-24 08:16:54 +01:00
e9184f88bf Add Result.orElseThrow() 2018-06-24 08:16:24 +01:00
05aa6fb323 Add Result.fromMaybe(Maybe, Supplier<Exception>) 2018-06-23 22:29:47 +01:00
62a61213cc Added Result.maybe() 2018-06-23 18:22:05 +01:00
47193e6480 Add Result.map() 2018-06-23 18:14:19 +01:00
680b6b8a0d Make README version number neutral
Avoid needing to keep the version on the master branch up-to-date when it only
gets set on a release branch.
2018-06-23 07:46:23 +01:00
846bc88e4f Add comments to Maybe example in README 2018-06-23 07:35:48 +01:00
d6d17a6682 Split Maybe interface into MaybeOptional and MaybeStream
Also deprecated Maybe.fromOptional(Optional)
2018-06-22 23:53:25 +01:00
24a12cbf5b Update README with more examples for Result and updated badges 2018-06-22 23:17:42 +01:00
5bf0fcbdf9 Add Maybe.stream() 2018-06-22 23:17:25 +01:00
b2fa6e3dc2 Generic version DEV-SNAPSHOT for master branch 2018-06-22 17:48:09 +01:00
dba536d3d0 Add additional use case sample tests for Result 2018-06-22 17:39:22 +01:00
1977c47590 Replace type specifier in Result constructor with diamond operator 2018-06-22 07:09:21 +01:00
eece4bf5ae Update Changelog 2018-06-22 07:02:13 +01:00
bf8e383229 Move Maybe into maybe package 2018-06-21 18:59:31 +01:00
95d5837e31 More upgrade and update tests to match new assertj error messages 2018-06-21 18:48:04 +01:00
91884b2830 Upgrade dependencies 2018-06-21 18:38:06 +01:00
7cae02bc58 Merge branch 'result' into 'master'
Add Result<T>

See merge request kemitix/mon!33
2018-06-21 17:23:50 +00:00
0b82abeae7 Merge branch 'jenkins' into 'master'
Jenkins

See merge request kemitix/mon!32
2018-06-21 17:16:03 +00:00
672e537153 jenkins: update to master/release branch model 2018-06-21 18:10:41 +01:00
42c029dc82 Merge branch 'develop'
* develop:
  codesigning.asc.enc: removed
  jenkins: checkfor SNAPSHOT when pull request into master
  Dump environment - try #1
  travis: remove deploy
  jenkins: update jenkinsfile template
  version: set to 0.7.0-SNAPSHOT
2018-06-21 18:08:19 +01:00
7e19fd4e9c Update Changelog 2018-06-21 17:57:55 +01:00
470cd2fc24 Add Result<T> 2018-06-21 17:52:07 +01:00
ca46ee0d0f jenkins: update to template 2018-03-11 19:25:51 +00:00
9a5dcb5e7a jenkins: update template
* Use generic maven and jdk names
* Add sonarqube reporting
2018-03-10 18:16:47 +00:00
34cc98107d Only deploy when remote repo url is https 2018-03-08 22:22:50 +00:00
1923b849dd
Merge pull request #31 from kemitix/remove-codesign
codesigning.asc.enc: removed
2018-03-08 19:51:50 +00:00
606ed8aae8 codesigning.asc.enc: removed 2018-03-08 19:36:17 +00:00
2041721574
Merge pull request #30 from kemitix/feature/clean-up-travis
Clean up travis support in favour of jenkins
2018-03-08 19:32:10 +00:00
997e08458e jenkins: checkfor SNAPSHOT when pull request into master 2018-03-08 18:56:59 +00:00
586546f615 Dump environment - try #1 2018-03-08 18:51:13 +00:00
878001a25f travis: remove deploy 2018-03-08 18:17:05 +00:00
b45f07228c jenkins: update jenkinsfile template 2018-03-08 18:15:55 +00:00
1f24161759
Merge pull request #29 from kemitix/prepare/0.7.0
Prepare 0.7.0
2018-03-04 20:48:30 +00:00
38d6f5cfec version: set to 0.7.0-SNAPSHOT 2018-03-04 20:16:13 +00:00
802b0adf08
Merge pull request #28 from kemitix/release/0.6.0
Release 0.6.0
2018-03-04 20:14:32 +00:00
bc8f8e08ba version: set to 0.6.0 2018-03-04 19:44:31 +00:00
4c1e1d6082
Merge pull request #27 from kemitix/jenkins
jenkins: update to latest template
2018-03-04 19:35:25 +00:00
3aa20d4b53 jenkins: update to latest template 2018-03-04 18:12:13 +00:00
b4d42447dc
Merge pull request #26 from kemitix/jdk-9-compatible
Compile with Java 9 Compatibility
2018-03-04 10:10:15 +00:00
5c62fbd74d
Merge branch 'develop' into jdk-9-compatible 2018-03-04 10:05:15 +00:00
d66e1d581a
Merge pull request #25 from kemitix/jenkins
Jenkins
2018-03-04 09:21:32 +00:00
87d1dea399 CHANGELOG 2018-03-03 22:29:05 +00:00
edf98ed593 jenkins: add Coverage stage 2018-03-03 16:30:01 +00:00
fa63f2f104 jenkins: split Reporting stage into Test Results and Archiving 2018-03-03 16:29:38 +00:00
13b6ebd06d jenkins: remove java 9 testing from develop branch 2018-03-03 16:28:50 +00:00
a7b4bc3d12 Merge branch 'develop' into jdk-9-compatible
* develop:
  Add missing error when snapshot
  version set to 0.6.0-SNAPSHOT (again)
  jenkins: use mvn with options
  jenkins: clean up
  jenkins: fix syntax #5
  jenkins: fix syntax #4
  jenkins: fix syntax #3
  jenkins: strong type read pom
  jenkins: fix syntax #2
  jenkins: fix syntax #2
  jenkins: fix syntax
  jenkins: fix syntax
  Revert "version set to 0.6.0-SNAPSHOT"
  jenkins: add check to fail build when SNAPSHOT on master branch
  version set to 0.6.0-SNAPSHOT
  pom: fix accidental merge of SNAPSHOT into master
  version: set to 0.6.0-SNAPSHOT
  version: set to 0.5.0
2018-03-03 13:27:35 +00:00
52cdab42b5
Merge pull request #24 from kemitix/prepare/0.6.0
Prepare/0.6.0
2018-03-03 12:53:05 +00:00
352b3d1473 Add missing error when snapshot 2018-03-03 12:47:49 +00:00