Skip to content

Commit cc96037

Browse files
Apply suggestion from docs review
Co-authored-by: Sam Browning <[email protected]>
1 parent 255123c commit cc96037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/Security/CWE/CWE-524/SensitiveKeyboardCache.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<recommendation>
1111

1212
<p>For input fields expected to accept sensitive information, use input types such as <code>"textNoSuggestions"</code> (or <code>"textPassword"</code> for a password) to ensure the input does not get stored in the keyboard cache.</p>
13-
<p>The input type can also be set in code through <code>TextView.setInputType()</code> rather than declared through XML.</p>
13+
<p>Optionally, instead of declaring an input type through XML, you can set the input type in your code using <code>TextView.setInputType()</code>.</p>
1414
</recommendation>
1515
<example>
1616

0 commit comments

Comments
 (0)