mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Apply review suggestions
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
public void fileSystemStorageUnsafe(String name, String password) {
|
||||
// BAD - sensitive data stored in plaintext
|
||||
// BAD - sensitive data stored in cleartext
|
||||
FileWriter fw = new FileWriter("some_file.txt");
|
||||
fw.write(name + ":" + password);
|
||||
fw.close();
|
||||
|
||||
Reference in New Issue
Block a user