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

grpc / grpc-java / 22155
89%

Build:
DEFAULT BRANCH: master
Ran 12 May 2021 05:44PM UTC
Jobs 1
Files 446
Run time 73min
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
22155

push

travis-ci

web-flow
Use @DoNotCall for static methods in Builders that throw

Since static methods are pseudo-inherited by Builder implementations but
are trivially accidentally used, we re-define static methods in each
builder to make them behave more like the caller would expect. However,
not all the methods actually work; some just throw because the caller
was certainly not getting what they would expect.

Annotating with `@DoNotCall` can expose the problems at compile time
instead of runtime. While `@Deprecated` would also be an option, it is a
bit harder to figure out the ramifications and whether we want to go
that route.

This change was suggested by a lint tool for XdsServerBuilder and it
seems appropriate so I applied it to the other similar cases I could
find.

27061 of 30728 relevant lines covered (88.07%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22155.1 (GRADLE_OPTS=-Xmx512m LDFLAGS=-L/tmp/protobuf/lib CXXFLAGS=-I/tmp/protobuf/include LD_LIBRARY_PATH=/tmp/protobuf/lib) 12 May 2021 05:44PM UTC 0
88.07
Travis Job 22155.1
Source Files on build 22155
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #22155
  • e08b9db2 on github
  • Prev Build on master (#22149)
  • Next Build on master (#22156)
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