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

apache / servicecomb-pack / 792
82%

Build:
DEFAULT BRANCH: master
Ran 02 Apr 2018 03:28AM UTC
Jobs 1
Files 56
Run time 6s
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
792

push

travis-ci

WillemJiang
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.

874 of 915 relevant lines covered (95.52%)

1.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 792.1 02 Apr 2018 03:28AM UTC 0
95.52
Travis Job 792.1
Source Files on build 792
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #792
  • 7de39154 on github
  • Prev Build on master (#790)
  • Next Build on master (#798)
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