diff options
| author | 2024-12-20 09:45:46 +0900 | |
|---|---|---|
| committer | 2024-12-20 10:50:14 +0900 | |
| commit | 0733b2e928d0a1d6f568308d00bba6ee2ff0b1b9 (patch) | |
| tree | f160f5e5d461943a0795b0a4d75f553263d50740 /libs/androidfw/FileStream.cpp | |
| parent | 26d9bbd3fe9d83dbbeff39007243c21bad1dd08e (diff) | |
Fix the format of argument name comments
This CL updates the format of argument name comments.
The following command is used to find comments to be fixed:
rg '/\*\s+\w+\s+\*/' \
-g "**/desktopmode/**" \
-g "!src/com/android/wm/shell/desktopmode/DesktopModeEventLogger.kt" \
-g "!tests/unittest/src/com/android/wm/shell/desktopmode/DesktopModeEventLoggerTest.kt"
The comments are then replaced with the `/* name= */ value` style, or
Kotlin's named arguments.
Some comments in DesktopModeEventLogger.kt and
DesktopModeEventLoggerTest.kt are unchanged. This is because the proto
binding generator gives arguments less meaningful names like `arg0`.
Using `/* name= */ value` style comments with inconsistent names
resulted in warnings in the IDE.
Bug: None
Test: None
Flag: DOCS_ONLY
Change-Id: I626ee944b13f99ccd4b23536c21fd1aac3ece08f
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions