You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api-guide/messages.md.html
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@
44
44
should be “Unused import foo”, not “Unused import foo.”
45
45
46
46
However, if there are multiple sentences in the error message, all sentences
47
-
should be punctuate.
47
+
should be punctuated.
48
48
49
49
Note that there should be no space before an exclamation (!) or question mark
50
50
(?) sign.
@@ -62,7 +62,7 @@
62
62
cause problems as soon as the line numbers drift after edits to the file), lint
63
63
matches by error message in the file, so the more unique error messages are,
64
64
the better. If all unused import warnings were just “Unused import”, lint would
65
-
match them in order, which often would be the wrong thing.
65
+
match them in order, which often would match the wrong import.
66
66
67
67
## Reference Android By Number
68
68
@@ -103,7 +103,6 @@
103
103
104
104
* [AccidentalOctal] The leading 0 turns this number into octal which is probably not what was intended (interpreted as 8)
105
105
* [AdapterViewChildren] A list/grid should have no children declared in XML
106
-
* [AddJavascriptInterface] \`WebView.addJavascriptInterface\` should not be called with minSdkVersion <17forsecurityreasons:JavaScriptcanusereflectiontomanipulateapplication
107
106
* [AllCaps] Using \`textAllCaps\` with a string (\`has_markup\`) that contains markup; the markup will be dropped by the caps conversion
108
107
* [AllowAllHostnameVerifier] Using the \`AllowAllHostnameVerifier\` HostnameVerifier is unsafe because it always returns true, which could cause insecure network traffic due to trusting TLS/SSL server certificates for wrong hostnames
109
108
* [AlwaysShowAction] Prefer \`ifRoom\` instead of \`always\`
0 commit comments