Skip to content

Commit 09fd394

Browse files
izeyeError Prone Team
authored and
Error Prone Team
committed
Fix typo in NullTernary.md
This PR fixes a typo in the `NullTernary.md`. Fixes #4995 COPYBARA_INTEGRATE_REVIEW=#4995 from izeye:patch-1 e035c29 PiperOrigin-RevId: 748735681
1 parent 4171fd7 commit 09fd394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/bugpattern/NullTernary.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ If a conditional expression evaluates to `null`, unboxing it will result in a
44
For example:
55

66
```java
7-
int x = flag ? foo : null:
7+
int x = flag ? foo : null;
88
```
99

1010
If `flag` is false, `null` will be auto-unboxed from an `Integer` to `int`,

0 commit comments

Comments
 (0)