Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 09fd394

Browse filesBrowse files
izeyeError Prone Team
authored andcommitted
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
Copy full SHA for 09fd394

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎docs/bugpattern/NullTernary.md

Copy file name to clipboardExpand all lines: docs/bugpattern/NullTernary.md
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.