• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / servicecomb-pack / 791
82%

Build:
DEFAULT BRANCH: master
Ran 01 Apr 2018 09:14AM UTC
Jobs 1
Files 56
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
791

Pull #166

travis-ci

web-flow
refactor method TxEventRepository.findFirstUncompensatedEventByIdGreaterThan()

Change method signature from
  List<TxEvent> findFirstUncompensatedEventByIdGreaterThan(long id, String type);
to
  Optional<TxEvent> findFirstUncompensatedEventByIdGreaterThan(long id);

Reasons:

1. this method named "findFirst" and it always returns a list with 1 element
   or an empty list, so it's better to return Optional<>.
2. this method try to find a TxEndedEvent which is aborted but not compensated, so
   the parameter type should not be exposed to callers, it should be in internal
   query logic.
Pull Request #166: [SCB-452] Write java doc for some class and some refactoring.

9 of 9 new or added lines in 2 files covered. (100.0%)

872 of 915 relevant lines covered (95.3%)

1.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 791.1 01 Apr 2018 09:14AM UTC 0
95.3
Travis Job 791.1
Source Files on build 791
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #791
  • Pull Request #166
  • PR Base - master (#790)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc