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

uber / NullAway / #831
93%

Build:
DEFAULT BRANCH: master
Ran 25 Apr 2022 06:47PM UTC
Jobs 1
Files 73
Run time 15s
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
#831

push

github-actions

web-flow
Fixes line breaks and tabs in serializing errors. (#584)

At this moment, NullAway will produce the following output when serializing reporting errors:

```java
foo(X.m()
      ?  X.m2()
    : null)
foo (Object bar) { }
```
```
PASS_NULLABLE   passing @Nullable parameter 'X.m()
            ?                                      X.m2()
            : null' where @NonNull is required   com.uber.foo.Bar    baz()  

```

Since columns are separated by `\t` in `tsv` files and every row should be in one single line, the output should have been the below:
```
PASS_NULLABLE   passing @Nullable parameter 'X.m()\n\t\t? X.m2()\n\t: null' where @NonNull is required   com.uber.foo.Bar  baz()  
```

This PR fixes this issue with a test to verify the correctness.

In addition to `\n` and `\t`, this PR encodes other escape characters (`\r`, `\f` and `\b`) as well.

4785 of 5198 relevant lines covered (92.05%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #831.1 25 Apr 2022 06:47PM UTC 0
92.05
Source Files on build #831
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #831
  • 8044b9e8 on github
  • Prev Build on master
  • Next Build on master
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