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

apache / commons-math / 307
91%

Build:
DEFAULT BRANCH: master
Ran 09 Oct 2017 04:13PM UTC
Jobs 1
Files 644
Run time 43s
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
307

Pull #66

travis-ci

web-flow
Consider returning a zero length array of int rather than null.

It is often a better design to return a length zero array rather than a null reference to indicate that there are no results (i.e., an empty list of results).
This way, no explicit check for null is needed by clients of the method.
On the other hand, using null to indicate that "there is no answer to this question" is probably appropriate.
http://findbugs.sourceforge.net/bugDescriptions.html#PZLA_PREFER_ZERO_LENGTH_ARRAYS
Pull Request #66: Remove the redundant null check expression of a non-null value lastRe…

38782 of 43112 relevant lines covered (89.96%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 307.1 (MAVEN_OPTS="-Xmx6g -Xms2g") 09 Oct 2017 04:10PM UTC 0
89.96
Travis Job 307.1
Source Files on build 307
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #307
  • Pull Request #66
  • PR Base - master (#303)
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